Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - select socket
Search - select socket - List
WinSock Win32 API 的打包类和例子程序 < WinSock > winSocket/winSocketEx: 如果你正在Windows环境中用C++编写TCP/IP网络程序,那么使用这个打包类吧,我想它不会让你失望的。winSocket几乎封装了编写TCP/IP网络应用程序所需的所有内容,winSocketEx加入了对SOCKS 4/5代理服务器的支持。使得在自己的程序中加入代理支持易如反掌。这个打包类支持的特性包括:Connect、Send、Receive、Close、Listen、Bind、Accept、asyncSelect、get_LocalHost、get_LocalPort、get_RemoteHost、get_RemotePort等等。 [代码性质] VC可重用代码段 [代码作者] ryan [文件大小] 53K 声明:转自其他网站 -WinSock Win32 API categories and examples of the packing process <WinSock> winSocket/winSocketEx: If you are using Windows environment C++ Prepared TCP/IP network program, then use this type of packing, I think it will not let you disappointed . WinSocket almost encapsulates the preparation of TCP/IP network applications all the necessary elements, winSocketEx adding a SOCKS 4/5 proxy server support. Making procedures in their own easy to add agent support. This type of support package features include: Connect, Send, Receive, Close, Listen, Bind, Accept, asyncSelect, get_LocalHost, get_LocalPort, get_RemoteHost, get_RemotePort and so on. [Character code] VC reusable code segment [code author] ryan [size] 53K statement: Transfer from other sites
Date : 2025-12-21 Size : 42kb User : 邓影

DL : 0
该代码在Linux实现了一个类似于windows上的QQ的聊天工具。主要是基于TCP/IP协议的socket通信。包括服务器端和客户端两部分,其中客户端使用了select的IO多路复用技术,服务器端由于要监听多个客户端,因此使用了epoll的IO多路复用技术。整个项目目前可以实现的功能有用户的注册与登录,添加好友,发送聊天消息,发送与接收文件等。(The code implements a chat tool similar to windows on QQ in Linux. Socket communication is mainly based on TCP/IP protocol. Including server and client two parts, in which the client uses the select IO multiplexing technology, the server side to monitor a number of clients, so the use of epoll IO multiplexing technology. The functions of the whole project can be registered and logged by users, add friends, send chat messages, send and receive files, etc..)
Date : 2025-12-21 Size : 41kb User : 零下10度C
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.