当前位置:优学网  >  在线题库

从套接字python中的响应获取主机

发表时间:2022-07-23 00:06:39 阅读:66

While trying to experiment with the python library socket I wanted to make a server that can take 2 clients only for communication like Whatsapp and I was thinking that with the 2 clients and the server one client can send a message to the server and the server would storage that respons and redirect it to the other client but first I would need to know who is sending the messages and redirect them to the other user and idk how to do that. can someone tell me if its a function or a method?(i am new to socket)

🎖️ 优质答案
相关问题