-
基于WINSOCK的信息交互
通过serverSocket.Accept()来接收客户Socket的连接请求,在这里用循环可以实现该线程实时侦听,而不是只侦听一次。当程序运行serverSocket.Accept()时,会等待,直到有客户端Socket发起连接请求时,获取该客户Socket,如上面的clientSocket。在这里我用多线程来实现与多个客户端Socket的连接和通信,一旦接收到一个连接后,就新建一个线程,执行ReceiveData功能来实现信息的发送和接收
- 2022-03-19 00:10:54下载
- 积分:1
-
C language of the UDP socket programming, please studies
用C语言实现的UDP协议的socket编程,请大家研究研究-C language of the UDP socket programming, please studies
- 2022-02-21 11:07:34下载
- 积分:1
-
信使小精灵,是一个简易的聊天工具。主要是演示了网络编程的主要步骤。本程序使用封装好的函数库,使得应用层不需要考虑网络消息是如何被接受和发送的,也不需要考虑数据粘
信使小精灵,是一个简易的聊天工具。主要是演示了网络编程的主要步骤。本程序使用封装好的函数库,使得应用层不需要考虑网络消息是如何被接受和发送的,也不需要考虑数据粘包和丢包的刺手问题,你只要调用相应的函数就可以了。函数库为你做好了这些工作。你只需要定义自己的协议头和消息结构体,定义好网络消息的回调函数就可以了。-Messenger elf is a simple chat tool. Mainly to demonstrate the major steps in network programming. This procedure using the package a good library, making the application layer does not need to consider how the network news is accepted and sent, nor need to consider the data packet and packet loss sticky hands of the Spurs, you simply call the corresponding function can be a . Function library for you to do a good job in those efforts. You only need to define your own protocol header and message structure, the definition of good network news can be a callback function.
- 2022-03-30 00:05:40下载
- 积分:1
-
VB远程网络监视、文件传输、消息发送实例程序
VB远程网络监视、文件传输、消息发送实例程序
- 2022-05-05 03:49:11下载
- 积分:1
-
虚拟银行的解决方案。外国银行提供学生贷款。为重点。
本解决方案虚拟了一个银行。这个银行对外提供助学贷款。由于这个银行有很多外部营助学贷款管理系统.rar 业网点,及时统计、查询这些助学贷款信息,就是对本解决方案的要求。-the solution of a virtual bank. The foreign banks to provide student loans. As the banks have a lot of external business management system of student loans. Rar industry networks and timely statistics, these inquiries student loans message that the solution to the request.
- 2023-01-28 12:45:05下载
- 积分:1
-
用ASP连接各种数据库的方法,大家可以看看,或许对你有帮助
用ASP连接各种数据库的方法,大家可以看看,或许对你有帮助-ASP database connections, we can see, perhaps to help you
- 2023-05-29 00:55:04下载
- 积分:1
-
实现功能:・ 用户上线・包括新用户上线和已使用过该系统的用户上线・每位在线的用户将会收到该用户上线的通知・该用户会收到所有已在线的用户的信息・朋友下线 ・服务...
实现功能:・ 用户上线・包括新用户上线和已使用过该系统的用户上线・每位在线的用户将会收到该用户上线的通知・该用户会收到所有已在线的用户的信息・朋友下线 ・服务器端删除该用户信息・每位在线的用户将会收到该用户下线的通知,同时删除改用户的信息・聊天终止,文件传输终止・ 修改用户名字・用户可以在对应的文本框内直接修改名称・用户可以在保存的Myinfo.txt中直接修改名称・ 聊天功能:・公聊:所有在线的用户都可以看到你的发言・私聊:能和所有以在线的用户进行私聊,其他用户看不到私聊对象之间的聊天 ・文件传输 ・能给所有的已在线用户发送文件(先打开私聊窗口) ・只能给一位用户发送文件,但是却可以接收多个用户发送的文件・查看历史记录 ・可以查看私聊的聊天记录 ・可以查看公聊的聊天记录 ・可以查看服务器端的所有记录-achieve functional : on-line users, including new users on line and have used the system users on the line every online users will be received by the users of on-line users will be notified of the receipt of all users of online information Linear friends server to delete the user information each of the Line users will receive the notification from the assembly line users, delete users change the information termination chat, file transfer, termination of modifying user names users can text box corresponding directly alter the names of users can keep Myinfo.txt directly change the name chat : public talk : all online users can se
- 2022-04-15 07:32:42下载
- 积分:1
-
socket常用函数说明,是初学者查询socket函数功能得好文章
socket常用函数说明,是初学者查询socket函数功能得好文章-socket commonly used functions that are beginners inquiries good article socket Function
- 2022-07-20 02:40:26下载
- 积分:1
-
自己做的下载工具原码 用到了很多函数 都是下载用的主要函数...
自己做的下载工具原码 用到了很多函数 都是下载用的主要函数-own download tools of the original code used to download many functions are the main function
- 2022-07-11 10:57:44下载
- 积分: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