文件名称:python-socket-udp-server-client
介绍说明--下载内容来自于网络,使用问题请自行百度
a project about python udp server/client demo, run them in different computers,you can better experience the enjoyment of network programming with python
1 this is a implementation of python udp server client model, run the code respectively in different machines, and enable that the two machines
can ping each other,to do this , you r supposed to shut down your firewalls first.
2 I run the two py file code in two machines,first, you should get to know the ip address of server machine, and replace the HOST constant
with your own server ip, then type message firstly on client machine, then you will find that the typed message in client machine shows in
the server window, and then the client waits for the response from server side ,then u type message in server window, u will find that message
show in client side ,then the server side goes into waiting for the response from client side.
3 so u implement the server / client model in UDP protocol
1 this is a implementation of python udp server client model, run the code respectively in different machines, and enable that the two machines
can ping each other,to do this , you r supposed to shut down your firewalls first.
2 I run the two py file code in two machines,first, you should get to know the ip address of server machine, and replace the HOST constant
with your own server ip, then type message firstly on client machine, then you will find that the typed message in client machine shows in
the server window, and then the client waits for the response from server side ,then u type message in server window, u will find that message
show in client side ,then the server side goes into waiting for the response from client side.
3 so u implement the server / client model in UDP protocol
(系统自动生成,下载前可以参看下载内容)
下载文件列表
src
src\tsUclnt.py
src\tsUserver.py
src\tsUclnt.py
src\tsUserver.py
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
