CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - winsock serv
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - winsock serv - List
[
Internet-Network
]
winsock server
DL : 0
WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CListenSocket,CClientSocket构成的。 (所有关于类的说明在代码中有) 下面简单介绍一下程序流程: 主程序调用CListenSocket类的对象来进行对Socket的监听,当收到请求时调用主程序的函数来处理相应的连接,把Socket放进队列中。 对于Socket的接收数据和断开连接是由消息来触发的,是通过调用基类CSocket中的虚函数重载来处理的。 注:详细的过程,在程序代码中均有注释!-Winsock server sample program note that the procedure was based on dialog programming, using one-to-many is the way to connect. The entire process by CServerDlg, CServerApp, CListenSocket, constitute the CClientSocket. (All categories on the note in code) The following outlines procedures have : main program called CListenSocket category to the target of the listening socket, when the call request is received when the main program functions to the corresponding connections, socket into the queue. Socket for the reception of data and disconnected from the news to trigger, by calling the base class CSocket the virtual function to handle the heavy load. Note : Details of the procedure code have Notes!
Update
: 2025-02-17
Size
: 38kb
Publisher
:
柳宝虎
[
Other
]
linuxServer_vcClient
DL : 0
linux socket和winsock结合使用。linux作为服务器,windows来访问。简单测试小程序-linux socket and winsock combination. linux as a server, windows to access. Simple test applet
Update
: 2025-02-17
Size
: 7kb
Publisher
:
王立东
[
Internet-Network
]
winsocket
DL : 0
Windows 的 socket 编程入门实践 实现server与client的通信-Windows of the socket programming practice to achieve entry-server and client communications
Update
: 2025-02-17
Size
: 202kb
Publisher
:
天翼
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.