-
通过访问网站 实现获取主机所在地 CInternetSession 类 实现
通过访问网站 实现获取主机所在地 CInternetSession 类 实现-get localtion address
- 2022-02-13 21:00:21下载
- 积分:1
-
SOCKET 底层协议数据结构
如:
/*
IP Header
RFC
SOCKET 底层协议数据结构
如:
/*
IP Header
RFC-791
0 3 7 15 31
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Version| IHL |Type of Service| Total Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Identification | Flags | Fragment Offset |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Time to Live | Protocol | Header Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Destination Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Options | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
*/-SOCKET underlying protocol data structures such as:/* IP HeaderRFC-7910 3 7 15 31+-+-+-+-+-+-+-+-+-+-+-2B !-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+ | Version | IHL | Type of Service | Total Length |+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+-+-+-+
- 2022-03-14 02:24:14下载
- 积分:1
-
用VC写的winsock聊天程序,分服务器和客户机俩个程序,是学习winsock很好的源码!...
用VC写的winsock聊天程序,分服务器和客户机俩个程序,是学习winsock很好的源码!- Winsock writes which with VC chats the procedure, divides the
server and a client pairs procedure, studies the winsock very good
source code!
- 2023-02-28 07:35:03下载
- 积分:1
-
win2k下用winsock原始套接字抓包,从事SOCKET编程
win2k下用winsock原始套接字抓包,从事SOCKET编程-win2k using protocols of the original socket capturing Packet engaged Socket Programming
- 2022-02-01 07:44:31下载
- 积分:1
-
该程序是使用了串口通信的R232协议进行了编程,
该程序是使用了串口通信的R232协议进行了编程,-the program is its use of serial communications R232 agreement for programming,
- 2022-02-01 17:03:36下载
- 积分:1
-
AOL的在线聊天系统的客户端
AOL的在线聊天系统的客户端-AOL chat client
- 2023-01-16 11:25:03下载
- 积分:1
-
在WINDOWS下进行网络服务端程序开发,毫无疑问,Winsock 完成端口模型是最高效的。Winsock的完成端口模型借助Widnows的重叠IO和完成端口来...
在WINDOWS下进行网络服务端程序开发,毫无疑问,Winsock 完成端口模型是最高效的。Winsock的完成端口模型借助Widnows的重叠IO和完成端口来实现,完成端口模型懂了之后是比较简单的,但是要想掌握Winsock完成端口模型,需要对WINDOWS下的线程、线程同步,Winsock API以及WINDOWS IO机制有一定的了解。如果不了解,推荐几本书:《Inside Windows 2000,《WINDOWS核心编程》,《WIN32多线程程序设计》、《WINDOWS网络编程技术》。在去年,我在C语言下用完成端口模型写了一个WEBSERVER,前些天,我决定用C++重写这个WEBSERVER,给这个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 programming "," WINDOWS network programming technology. " Las
- 2022-07-08 01:37:37下载
- 积分:1
-
一个简单的完成端口的例子,适合入门者学习
一个简单的完成端口的例子,适合入门者学习-A simple example of the completion of the port, suitable for beginners to learn
- 2022-04-16 23:54:04下载
- 积分:1
-
首先,读者可以先将DDK原来的packet例子程序备份,然后用改动后的驱动程序源码覆盖原先的代码(即覆盖packet...
首先,读者可以先将DDK原来的packet例子程序备份,然后用改动后的驱动程序源码覆盖原先的代码(即覆盖packet->driver目录下的代码,修改后的代码已经给出)。
然后开始编译。顺次选择开始->程序->Development kits->Windows 2000 DDK->Checked Build Environment,将出现一个控制台窗口。使用cd命令进入D:programsNTDDK src
etwork ndispacket目录(即驱动程序和相应应用程序所在的目录),键入build命令开始编译,在该目录下的dirs文件的控制下可以同时编译driver目录下的驱动程序和testapp目录下用于测试驱动程序的应用程序;即同时得到改动后的驱动程序和测试该驱动程序的应用程序。-First, readers can DDK first example of the original packet backup procedures, and then change the driver covered the original source code (that is, covering packet-gt; Driver directory code, the revised code has been given). Then compiler. Topping the list is to choose start-gt; Procedures- gt; Development kits- gt; Windows 2000 DDK- gt; Checked Build Environment, there will be a console window. Use cd order to enter D : programs NTDDK src network NDIS packet directory (ie driver and the corresponding application to the directory), type build orders started compiling, in the catalog under the dirs documents under the co
- 2023-06-15 10:50:03下载
- 积分:1
-
一个网络编程的示例程序,用于对网络设备的各参数采集,服务端....
一个网络编程的示例程序,用于对网络设备的各参数采集,服务端.-a network programming examples of procedures for the network equipment parameters of the acquisition, server.
- 2022-05-13 14:00:30下载
- 积分:1