Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. import socket
  2.  
  3. host = '192.168.0.1'
  4. puerto = 4040
  5.  
  6. nuevo_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  7.  
  8. nuevo_socket.connect((host, puerto))
  9.  
  10. nuevo_socket.close()