python实现tcp/ip
服务器端:import socketimport datetimeHOST='0.0.0.0'PORT=3434s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.bind((HOST,PORT))s.listen(1)while True: conn,addr=s.accept() print('Client %s connetced!' %str(addr)) dt=datetime.datetime.no