Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (10 sloc) 267 Bytes
import struct
import socket
import utils
import msgUtils
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect(("184.155.9.47", 8333))
sock.send(msgUtils.getVersionMsg())
while 1:
sock.recv(1000) # Throw away data
print 'got packet'
You can’t perform that action at this time.