DL : 2
SOCKET服务器,支持多客户端,含协议判断处理.
每个客户端有独立的数据队列做BUFFER,
采用异步SOCKET方式接收数据.
传上来换点分!对初学都应该还算是比较全面的.含全部源代码.
Date : 2008-08-14
Size : 141.36kb
User : elong2004
DL : 0
Socket编程示例代码
Date : 2009-02-01
Size : 197.68kb
User : windeer
DL : 0
C# Socket 简单介绍
Date : 2009-02-04
Size : 10kb
User : net_flysky
DL : 1
使用Symbian C++ 3rd 编写的Socket Demo 源码,对于初学者来说是一个难得的练手机会
Date : 2009-02-12
Size : 19.9kb
User : wsjql2009
DL : 20
安全的通过socket通信
Date : 2009-02-16
Size : 11.21kb
User : owlynx
DL : 0
Comprehensive collection of Delphi code units. Includes libraries for Socket components .
Date : 2025-07-03
Size : 463kb
User : 程序员
DL : 0
利用SPCOMM和Socket写的高速短信串口服务器-a high speed short massage COM server using SPCOM and Socket
Date : 2025-07-03
Size : 276kb
User : 摄氏37度
DL : 0
一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below:
struct TSession { SOCKET socket int id } class myIocp:public CIOCP
{ public:
void OnRead(void* p, char* buf, int len)
void OnAccept(SOCKET socket)
void OnClose(void* p) }
void myIocp::OnAccept(SOCKET socket)
{ TSession*s = new TSession s->socket = socket
//here you can do something about connection session,such as find a unique id.
SetIoCompletionPort(socket, s)
// make connection socket associate with a custom structure }
void myIocp::OnRead(void* p, char* buf, int len)
{ TSession*s = (TSession*)p send(s->socket, buf, len, 0)
// return received message to client
void myIocp::OnClose(void* p) { delete p } myIoncp iocp main() { ... iocp.listen(4311)
//start listenning net port,wait for client connect.
Date : 2025-07-03
Size : 2kb
User : boxu
DL : 0
用java socket包编的最简单的聊天室,-socket packets with the most simple part of the chat rooms,
Date : 2025-07-03
Size : 557kb
User : haixiuqi
DL : 0
本书第一部分讲述的是传统的网络接口N e t B I O S、重定向器以及通过重定向器进行的各类
网络通信。尽管本书大部分内容均围绕Wi n s o c k编程这一主题展开,但是, A P I比起Wi n s o c k
来,仍然具有某些独到之处-book on the first part of the traditional network interface N e t B I O S, Redirector and through Redirector for the various network communication. Although most of the contents of the book revolves around Wi n s o c k program this topic, but A P than I Wi n o c k's, still has some special gifts
Date : 2025-07-03
Size : 1.11mb
User : 楼洛阳
DL : 0
提供了一种简单的单向“进程间通信”(interprocess communication,
I P C)机制。这个机制的名字非常古怪,叫作“邮槽”(M a i l s l o t)。用最简单的话来说,通过
邮槽,客户机进程可将消息传送或广播给一个或多个服务器进程。-provides a simple one-way "communication process" (interprocess commun ication, I P C) mechanisms. The name of this mechanism is very strange, called "Post Groove" (M.'s a i l l o t). With the most simple words, by mail chutes, and the client process can be transmitted or broadcast news to one or more server processes.
Date : 2025-07-03
Size : 377kb
User : 楼洛阳
DL : 0
“命名管道”或“命名管线”(Named Pipes )是一种简单的进程间通信( I P C)机制,
Microsoft Windows NT,Windows 2000、Windows 95以及Windows 98均提供了对它的支持
(但不包括Windows CE)。命名管道可在同一台计算机的不同进程之间,或在跨越一个网络的
不同计算机的不同进程之间,支持可靠的、单向或双向的数据通信。-"named pipe" or "named pipe" (Named Pipes) is a simple process communication (I P C) mechanism for Microsoft Windows NT, Windows 2000, Windows 95 and Windows 98 are provided with the support it (but excluding Window 's CE). Named pipes in the same computer different processes, or across a network of different computers of different processes to support reliable, one-way or two-way data communications.
Date : 2025-07-03
Size : 744kb
User : 楼洛阳
DL : 0
23篇socket网络编程资料,pdf格式 包括基于局域网的Java即时信息传送软件的设计与实现.pdf 基于Java的网络即时通讯系统设计分析.pdf等-23 socket network programming, pdf format, including LAN-based Java instant messaging software design and implementation. pdf-based Jav a network of instant communications system design and analysis. pdf, etc.
Date : 2025-07-03
Size : 4.53mb
User : 刘辉
DL : 0
精通MFC程序设计附源代码
Socket编程-Proficient in MFC programming source code attached to Socket Programming
Date : 2025-07-03
Size : 228kb
User : czq
DL : 0
php编写的QQ软件,不错哦。学习php socket编程的不错资源-php prepared QQ software, oh well. Php socket programming to learn a good resource
Date : 2025-07-03
Size : 156kb
User : 韩老四
DL : 0
PPC 中建立GPRS连接进行Socket通信,PP C 中建立GPRS连接进行Socket通信-PPC to establish GPRS connection Socket Communications, PP C to create a GPRS connection Socket Communications
Date : 2025-07-03
Size : 44kb
User : wsh
DL : 0
孙鑫的套接字编程,很实用的,大家可以看看
-SUN Xin socket programming, it is practical, we will look at
Date : 2025-07-03
Size : 13kb
User : hello
DL : 0
一本描述tcp/ip编程的详细教程,包含各种方法的使用-a book describe tcp/ip program,include many kinds of methods
Date : 2025-07-03
Size : 3.11mb
User : libai
DL : 0
用socket写的服务器端客户端程序,服务器端多线程,可以并发处理客户端的请求-Used to write server-side socket client program, server-side multi-threaded and can handle concurrent client requests
Date : 2025-07-03
Size : 1.45mb
User : 郑俊飞
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus All Rights Reserved.