-
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
-
电驴的源emule0.07是第一次加入了上传功能的版本…
emule0.07是emule源码中首次加入上传功能队列的一个版本-emule source emule0.07 is the first time joined the upload feature a version of the queue
- 2022-07-20 18:34:08下载
- 积分:1
-
将网络驱动器映射为本地驱动的小程序,.net2003编译通过
将网络驱动器映射为本地驱动的小程序,.net2003编译通过-network drive mapping for the local small-driven procedures. Net2003 compile
- 2022-01-23 10:32:14下载
- 积分:1
-
穿透防火墙 mfc界面
要在相同的网络终端上绑定到不同的套接字上,所以必须为这些套接字设置SO_REUSEADDR属性(即允许重用),否则侦听会失败。 4、S的【协助打洞】连接收到A的申请后通过【主连接】通知B,并将A经过NAT-A转换后的公网IP地址和端口等信息告诉B。 5、B收到S的连接通知后首先与S的【协助打洞】端口连接,随便发送一些数据后立即断开,这样做的目的是让S能知道B经过NAT-B转换后的公网IP和端口号。 6、B尝试与A的经过NAT-A转换后的公网IP地址和端口进行connect,根据不同的路由器会有不同的结果,有些路由器在这个操作就能建立连接,大多数路由器对于不请自到的SYN请求包直接丢弃而导致connect失败,但NAT-A会纪录此次连接的源地址和端口号,为接下来真正的连接做好了准备,这就是所谓的打洞,即B向A打了一个洞,下次A就能直接连接到B刚才使用的端口号了
- 2022-02-05 16:28:38下载
- 积分:1
-
在线更新的实现源程序
在线更新的实现源程序-online update the realization source
- 2023-02-20 03:25:04下载
- 积分:1
-
Windows2000下的嗅探
windows2000下的嗅探器-windows2000 under the Sniffer
- 2022-03-18 05:59:53下载
- 积分:1
-
Network Programming for Windows
书源代码
(source code)
Network Programming for Windows
书源代码
(source code)-Network Programming for Windows source code book (SOU rce code)
- 2022-05-06 10:36:55下载
- 积分:1
-
类似于联众世界中的四国军棋游戏,分为客户端和服务器端。
可用于局域网内2人或者4人对战,支持复盘功能。
首先要运行服务器端(Server.exe),...
类似于联众世界中的四国军棋游戏,分为客户端和服务器端。
可用于局域网内2人或者4人对战,支持复盘功能。
首先要运行服务器端(Server.exe),
然后启动大厅程序(Game.exe),
坐好位置后,就可以进行游戏了。-OurGame similar to the Game The Great Battle of Four Countries divided into client and server. 2 can be used for LAN or 4 people against people, in support of the right site functionality. First of all want to run server-side (Server.exe), then start the procedure room (Game.exe), good location to sit, you can play the.
- 2022-02-11 12:14:24下载
- 积分:1
-
ftp客户端源代码,支持简单的ftp功能,界面较美观。
ftp客户端源代码,支持简单的ftp功能,界面较美观。-ftp client source code, support for simple ftp functions, interface more attractive.
- 2022-05-21 07:17:26下载
- 积分:1
-
用socket 编程接口编写两个程序,分别为客户程序(client.c)和服务器程序(server.c),该程序应能实现下述命令功能:
get:取远方的一个...
用socket 编程接口编写两个程序,分别为客户程序(client.c)和服务器程序(server.c),该程序应能实现下述命令功能:
get:取远方的一个文件
put:传给远方一个文件
pwd:显示远主当前目录
dir:列出远方当前目录
cd :改变远方当前目录
? :显示你提供的命令
quit :退出返回
-Socket programming interface used to prepare the two procedures, namely client (client.c) and server (server.c), the program should be able to function to achieve the following command: get: get a file from afar put: to the distance a file pwd: display current directory far the main dir: lists the current remote directory cd: to change the current directory from afar? : Shows you the command quit: exit to return to
- 2023-02-27 03:40:03下载
- 积分:1