-
WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CLis...
WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CListenSocket,CClientSocket构成的。 (所有关于类的说明在代码中有) 下面简单介绍一下程序流程: 主程序调用CListenSocket类的对象来进行对Socket的监听,当收到请求时调用主程序的函数来处理相应的连接,把Socket放进队列中。 对于Socket的接收数据和断开连接是由消息来触发的,是通过调用基类CSocket中的虚函数重载来处理的。 注:详细的过程,在程序代码中均有注释!-Winsock server sample program note that the procedure was based on dialog programming, using one-to-many is the way to connect. The entire process by CServerDlg, CServerApp, CListenSocket, constitute the CClientSocket. (All categories on the note in code) The following outlines procedures have : main program called CListenSocket category to the target of the listening socket, when the call request is received when the main program functions to the corresponding connections, socket into the queue. Socket for the reception of data and disconnected from the news to trigger, by calling the base class CSocket the virtual function to handle the heavy load. Note : Details of the procedure code have Notes!
- 2022-01-26 07:55:19下载
- 积分:1
-
MySQL Pocket Reference Network Programming : Database
MySQL Pocket Reference网络编程:数据库-MySQL Pocket Reference Network Programming : Database
- 2022-02-13 23:40:54下载
- 积分:1
-
空灵
ethereal-0.1 0.tar.gz,把后缀改为bz2,这是个监视网络数据包的软件源代码,这个软件特别好使,我一直在用-Ethereal- 0.10.10.tar.gz, bz2 suffix instead, it is a surveillance network packet software source code, the software so special, I have been in use
- 2022-01-26 03:44:34下载
- 积分:1
-
HTTP服务器的VC实例
HTTP服务器 VC的一个 实例-HTTP server an instance of VC
- 2022-02-21 16:11:20下载
- 积分:1
-
套接字一旦建立,通过套接字选项和IO控制命令对各种属性进行操作,便可以对套接字的行为产生影响,本章主要内容就是这些,...
套接字一旦建立,通过套接字选项和IO控制命令对各种属性进行操作,便可以对套接字的行为产生影响,本章主要内容就是这些,-Socket, once established, through the socket options and IO control commands to operate on a variety of attributes, they can have an impact on the conduct of the socket, the main contents of this chapter is that these,
- 2022-02-01 13:06:14下载
- 积分:1
-
xi tong ju yu wang
局域网聊天系统,欢迎大家下载啊,请下载,感谢大家啊,一定要下载啊-xi tong ju yu wang
- 2023-04-04 22:15:03下载
- 积分:1
-
目录超级链接是一个能够在窗体上实现超级链接的程序,或者发送email;...
目录超级链接是一个能够在窗体上实现超级链接的程序,或者发送email;-Hyperlink is a directory in the form of hyperlinks on the realization of the procedure, or send email
- 2022-03-17 08:13:04下载
- 积分:1
-
一款可以媲美EtherDetect Packet Sniffer的抓包工具,帮你分析TCP/UDP网络协议。
主要特色:
1。线索式分组显示
2。多...
一款可以媲美EtherDetect Packet Sniffer的抓包工具,帮你分析TCP/UDP网络协议。
主要特色:
1。线索式分组显示
2。多包重组-A EtherDetect Packet Sniffer can be comparable to the capture tools help you analyze TCP/UDP network protocol. Main features: 1. Trail-style grouping display 2. The reorganization of multi-packet
- 2023-08-23 12:25:04下载
- 积分:1
-
程序包是sun公司提出的jxta服务架构中支持java开发平p2p网络程序的类库!...
程序包是sun公司提出的jxta服务架构中支持java开发平p2p网络程序的类库!-A class library that supports p2p network application development by Java, which belongs to JXTA service architecture by SUN corp.
- 2022-07-18 12:44:24下载
- 积分:1
-
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