Skip to content
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(("", 8333))
while 1:
sock.recv(1000) # Throw away data
print 'got packet'
You can’t perform that action at this time.