文件名称:tcpudpserver
- 所属分类:
- Internet/网络编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 152kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
首先Server程序创建两个socket,分别为 TCP socket(使用命令行参数指定的端口号)和UDP socket(UDP端口号自定义,使用宏定义写在程序里,必须大于1024)。server端在这两个端口上侦听连接,接受来自客户端的服务请求。客户端根据提示进行操作。-procedures created two socket, for TCP socket (using the command line parameters designated ports), and UDP socket (UD P-defined port, the use of write-in process definition, must be greater than 1024). In this terminal server ports on the two monitors connected to accept from the client service requests. According to client instructions.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
tcpudpserver
............\client
............\......\client.dsp
............\......\client.dsw
............\......\client.ncb
............\......\client.opt
............\......\client.plg
............\client.exe
............\i
............\.\client.cpp
............\.\i.dsw
............\.\i.ncb
............\.\i.opt
............\.\server.cpp
............\.\server.dsp
............\.\server.dsw
............\.\server.ncb
............\.\server.opt
............\.\server.plg
............\server.exe
............\client
............\......\client.dsp
............\......\client.dsw
............\......\client.ncb
............\......\client.opt
............\......\client.plg
............\client.exe
............\i
............\.\client.cpp
............\.\i.dsw
............\.\i.ncb
............\.\i.opt
............\.\server.cpp
............\.\server.dsp
............\.\server.dsw
............\.\server.ncb
............\.\server.opt
............\.\server.plg
............\server.exe