This topic created in 4502 days ago, the information mentioned may be changed or developed.
如题初步想法一台服务器,其他机器和服务器相连,然后服务器获得局域网的ip,然后将ip发往不同的主机.接下来的通信是通过服务器转发好呢?还是主机之间直接通信好呢?痛信准备用socket,有什么好的建议欢迎提呀!
6 replies • 2014-07-25 17:26:45 +08:00
 |
|
飞鸽传书不行么?
|
 |
|
挺好,或者用广播,不用服务器
|
 |
|
Server: nc -lp 端口
Client: nc ServerIP 端口
即可。
|
 |
|
上次帮人弄的毕业设计就是这个
通过服务器转发比较好吧
|