Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- sock = socket.socket()
- sock.connect(('192.168.1.171',9970))
- #Сообщение от A серверу: сервер перешлет его клиенту B.
- message_to_B = input().encode('utf-8')
- sock.send(message_to_B)
- sock.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement