Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- host = '192.168.0.1'
- puerto = 4040
- nuevo_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- nuevo_socket.connect((host, puerto))
- nuevo_socket.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement