-
Client程序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。
连接成...
Client程序同样分别创建一个TCP socket 和一个UDP socket,首先client使用TCP socket连接TCP Server。
连接成功后显示提示信息;
然后client端向TCP Server发送“GET UDP PORT”字符串,Server收到后向client回送自己的UDP Server 端口号(即Client端仅知道TCP Server的端口号而不知道UDP Server的端口号);
client在收到UDP Server的端口号后, 为用户显示3个选项:
1.“Get current time(TCP)”服务器时间
2.“Echo Mode(UDP)”回显6
3.“Exit the program”.
-Client program also creates a TCP socket, respectively, and a UDP socket, the first client to use TCP socket connection TCP Server. After a successful connection displays a prompt message and then client-side to the TCP Server sends " GET UDP PORT" string, Server receipt back to the client to send their UDP Server port number (ie, Client-side only to know the TCP Server" s UDP port number do not know Server" s port number) client received UDP Server port number, in order to the user three options: 1. " Get current time (TCP)" server time 2. " Echo Mode (UDP)" echo 63. " Exit the program" .
- 2023-07-31 00:05:03下载
- 积分:1
-
书上的一个Csocket聊天室的服务器端.对我有挺大帮助,希望对初学winsock的人有所帮助....
书上的一个Csocket聊天室的服务器端.对我有挺大帮助,希望对初学winsock的人有所帮助.-book on the Csocket a chat room server. I have to help getting bigger, and I hope to beginners protocols of the people some help.
- 2023-03-02 13:10:03下载
- 积分:1
-
under the Windows network server program development, no doubt, Winsock complete...
在WINDOWS下进行网络服务端程序开发,毫无疑问,Winsock 完成端口模型是最高效的。Winsock的完成端口模型借助Widnows的重叠IO和完成端口来实现,完成端口模型懂了之后是比较简单的,但是要想掌握Winsock完成端口模型,需要对WINDOWS下的线程、线程同步,Winsock API以及WINDOWS IO机制有一定的了解。如果不了解,推荐几本书:《Inside Windows 2000,《WINDOWS核心编程》,《WIN32多线程程序设计》、《WINDOWS网络编程技术》。在去年,我在C语言下用完成端口模型写了一个WEBSERVER,前些天,我决定用C++重写这个WEBSERVER,给这个WEBSERVER增加了一些功能,并改进完成端口操作方法,比如采用AcceptEx来代替accept和使用LOOKASIDE LIST来管理内存,使得WEBSERVER的性能有了比较大的提高。 -under the Windows network server program development, no doubt, Winsock completed port model is the most efficient. Winsock port model with complete preview of overlap and complete port IO to achieve complete port after the model to understand is a relatively simple, but want to know the complete Winsock port model, the need for the Windows threads, thread synchronization, Winsock API and Windows IO mechanism of a certain understanding. If we do not understand, recommended several books : "Inside Windows 2000," Windows core programming "," WIN32 multithreaded program
- 2023-07-22 22:20:02下载
- 积分:1
-
易使利用传销网络商业版上传程序到空间…
MLM易赚网络商业版 本程序上传到空间里直接就可以使用!现在你不花一分钱就可以下载试用,下载的是一个试用的版本, 我已经去掉了管理区里的部分文件-easy to make using the MLM network commercial version upload procedures to space can be used directly! Now you do not spend a penny on the trial can be downloaded, the download is a trial version, I have removed the management of the district, some documents
- 2023-02-08 04:30:03下载
- 积分:1
-
all commodities information, how to use the Internet to send out together.
所有商品信息,如何利用互联网一起的发送出去。-all commodities information, how to use the Internet to send out together.
- 2023-08-09 04:25:03下载
- 积分:1
-
该程序演示了使用SOCKET select API模型,对用SOCKET进行网络服务器编程来说可以是一个很好指导...
该程序演示了使用SOCKET select API模型,对用SOCKET进行网络服务器编程来说可以是一个很好指导-demonstration of the procedure used SOCKET select API model used for network server socket programming because it is a good guide
- 2022-01-28 05:00:05下载
- 积分:1
-
IPMSG的所有原代码哦。。
有一定的学习研究作用 大家可以下载来...
IPMSG的所有原代码哦。。
有一定的学习研究作用 大家可以下载来-IPMSG Oh, all the original code. . Study has a certain role in U.S. can be downloaded to
- 2022-02-01 14:44:26下载
- 积分:1
-
显微镜相对比滤波器
phase contrast filter for microscopy
- 2022-02-20 01:49:07下载
- 积分:1
-
简单的FTP服务器,只支持匿名访问,
直接装文件夹拖到该文件上即可打开以此文件夹为根目录的FTP服务...
简单的FTP服务器,只支持匿名访问,
直接装文件夹拖到该文件上即可打开以此文件夹为根目录的FTP服务-Simple FTP server, only support anonymous. drag a directory onto it will open an FTP server root at that directory
- 2022-12-27 08:15:03下载
- 积分:1
-
socket套接字通信,TCP/IP协议,对网络编程很有用的。支持下哈!...
socket套接字通信,TCP/IP协议,对网络编程很有用的。支持下哈!-socket socket communication, TCP/IP protocol, network programming very useful. The support of Kazakhstan!
- 2022-03-19 10:46:25下载
- 积分:1