:)
#!/usr/bin/env python # http://kuntoaji.blogspot.com import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("127.0.0.1", 3000)) print s.recv(1024) # up to 1024 bytes
No comments:
Post a Comment