import sockets = socket.socket(socket.AF_INET, socket.SOCK_STREAM)port = socket.getservbyname('http', 'tcp')s.connect(("www.google.com", port))print "Connected from", s.getsockname()print "Connected to", s.getpeername()
Name (required)
email (will not be published) (required)
Website