-
基于WINSOCK的信息交互
通过serverSocket.Accept()来接收客户Socket的连接请求,在这里用循环可以实现该线程实时侦听,而不是只侦听一次。当程序运行serverSocket.Accept()时,会等待,直到有客户端Socket发起连接请求时,获取该客户Socket,如上面的clientSocket。在这里我用多线程来实现与多个客户端Socket的连接和通信,一旦接收到一个连接后,就新建一个线程,执行ReceiveData功能来实现信息的发送和接收
- 2022-03-19 00:10:54下载
- 积分:1
-
本书适应了 Windows、Internet 及计算机网络普及的潮流,介绍了一套在
Windows 下网络编程的规范-Windows Sockets。这套规...
本书适应了 Windows、Internet 及计算机网络普及的潮流,介绍了一套在
Windows 下网络编程的规范-Windows Sockets。这套规范是 Windows 下得到广泛
应用的、开放的、支持多种协议的网络编程接口。从 1991 年的 1.0 版到 1995 年的
2.0.8 版,经过不断完善并在 Intel、Microsoft、Sun、SGI、Informix、Novell 等公司
的全力支持下,已成为Windows 网络编程的事实上的标准。为使读者能够充分理解
和应用这套规范, 本书不但对Windows Sockets 1.1及2.0 规范作了较为详尽的介绍还结合了作者的实际工作,给出了具有实际应用价值的程序实例。书中的内容包括:
Windows Sockets 规范 1.1 版及2.0.8 版介绍;Windows Sockets网络编程指导和具体
应用实例;Windows Sockets规范1.1 版及2.0.8 版库函数参考等。-err
- 2023-09-05 23:55:05下载
- 积分:1
-
NDIS中间驱动程序的一个很好的例子
NDIS中间驱动程序的一个很好的例子-NDIS Intermediate Drivers of a good example
- 2022-02-13 18:00:20下载
- 积分:1
-
Port mapping software. Rar appropriate to study the learning
端口映射软件.rar
适合研究学习
-Port mapping software. Rar appropriate to study the learning
- 2022-02-12 13:48:11下载
- 积分:1
-
VOIP, voice transmission network. Server and client procedures, before changes i...
VOIP, 实现网络语音传输. server和client程序一样, 使用前先更改IP-VOIP, voice transmission network. Server and client procedures, before changes in the use of IP
- 2022-03-13 16:49:38下载
- 积分:1
-
1-持续CSMA协议下,当一个用户要发送数据时,它首先侦听信道,看是否有其他站点在传送。如果信道忙,就持续等待直到信道空闲时,便将数据送出。若发生冲突,就等待一个随机长的时间,然后重新侦听。
对于这种协议,先考虑当前帧i时的前一帧时i-1,得到前一帧时的最后一帧frame0(相对时间最大的帧)的相对时间dt0,然后再在当前帧时查看有哪些帧的相对时间会小于dt0,这些帧若是发送就会与frame0发生冲突,所以这些帧就进入持续等待状态,这些帧并没有发送。再考虑当前帧余下的帧(dt > dt0),它们中的第一帧侦听到信道处于空闲状态,所以就发送,而其他的帧由于第一帧的发送又处于等待状态。若有大于或等于2个帧的相对时间相等,且它们又同时侦听到信道空闲时,就会同时发送而导致冲突,冲突发生后的处理方法同上两个协议的一样。
-1- CSMA continued under the agreement, when a user to send data, it first interception Channel to see if there are other sites in transmission. If Channel busy, continuing to wait until the idle channel, and put more information out. If there is conflict, it is a long wait for a random time, then re-interception. Such agreements, to consider the current frame i am one of the former when i-1, be a time before the final one frame0 (relative to the time frame) the relative dt0 time, and then when the current frame to detect what the relative time frame will be less than dt0, these frames will be sent if and frame0 conflict, th
- 2022-03-03 08:55:18下载
- 积分:1
-
文件上传到服务器的一个动态库,可以用于个人学习,禁止用于商业用途...
文件上传到服务器的一个动态库,可以用于个人学习,禁止用于商业用途-File upload to the server a dynamic database that can be used for personal study, for commercial purposes prohibited
- 2023-07-04 23:35:03下载
- 积分:1
-
SMTP protocol collection, seven program's source code! Very good! For course...
SMTP协议实现总集,
有7个程序的源代码!非常好!用于课程设计的! -SMTP protocol collection, seven program"s source code! Very good! For course design!
- 2022-01-21 22:42:35下载
- 积分:1
-
确定是否已经连接到Internet的程序
确定是否已经连接到Internet的程序- Determined whether already connected Internet the procedure
- 2022-07-20 20:16:54下载
- 积分:1
-
检查一个tcp或udp端口是否被占用
检查一个tcp或udp端口是否被占用-Check if a tcp/udp port has been used
- 2022-03-26 13:56:18下载
- 积分:1