Advertisement
Korotkodul

clientA_last

Sep 24th, 2022 (edited)
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. import socket
  2.  
  3. sock = socket.socket()
  4. sock.connect(('192.168.1.171',9970))
  5.  
  6. #Сообщение от A серверу: сервер перешлет его клиенту B.
  7. message_to_B = input().encode('utf-8')
  8. sock.send(message_to_B)
  9.  
  10.  
  11.  
  12.  
  13. sock.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement