A simple Echo Server

来源:互联网 发布:灯光计算软件 编辑:程序博客网 时间:2024/06/10 22:38
The following simple Server opens a port on 2000 and waits for incoming connections. Each connection is answered with the same line as was written (echoed).
If you want to test the server, use telnet localhost 2000
 
From:http://www.adp-gmbh.ch/win/misc/sockets.html#echo
  
 
Dowload: http://download.csdn.net/source/1638196
原创粉丝点击