How to send date and time from client to server using sockets

后端 未结 0 1255
天命终不由人
天命终不由人 2021-01-21 02:23

My client.py file is

import socket
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((socket.gethostname(), 1025))
message = s.recv(1024)
# This 102         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题