-
服务器端通过socket()系统调用创建一个Socket数组后(即设定了接受连接客户的最大数目),与指定的本地端口绑定bind(),就可以在端口进行侦听list...
服务器端通过socket()系统调用创建一个Socket数组后(即设定了接受连接客户的最大数目),与指定的本地端口绑定bind(),就可以在端口进行侦听listen()。如果有客户端连接请求,则在数组中选择一个空Socket,将客户端地址赋给这个Socket。然后登录成功的客户就可以在服务器上聊天了。-Server-side through the socket () system call to create a Socket after the array (that is set to receive the maximum number of connected customers), with a specified local port to bind bind (), will be able to listen on port listen (). If the client has to connect the request, then select an empty array Socket, the client address assigned to the Socket. And then sign in the success of customers can chat on the server.
- 2023-08-19 03:20:03下载
- 积分:1
-
CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实...
CUdpSocket是为了简化发送,解析UDP 数据报所提供的一个基类。这个类封装了基于SOCK_DGRAM的大部分基本操作。这个类提供两种工作模式,一种是和实际处理UDP 数据报的功能紧耦合,这需要通过继承实现,同时设置workmode 为auto_receive(参见SetWorkdMode),另外一种是直接作为单独对象出现,此时用户需要使用Recv成员函数自己处理数据的接收。-CUdpSocket is to simplify this, the analytical data reported by the UDP with a base class. This type of packaging based SOCK_DGRAM the most basic operation. This provides two types of work, is a practical and UDP data processing function of tight coupling, it needs to achieve through inheritance, as set workmode auto_receive (see SetWorkdMode), the other is directly emerging as a separate object, users need to use this member function since Recv others receiving data processing.
- 2023-07-22 21:35:02下载
- 积分:1
-
C++。TCP多线程开放。客户端服务端程序。使用方便。实现多线程发送和接收。...
C++。TCP多线程开放。客户端服务端程序。使用方便。实现多线程发送和接收。-C++. Multi-threaded TCP open. Client server program. Easy to use. To send and receive multi-threading.
- 2022-02-09 17:01:12下载
- 积分:1
-
WIN32 API写的第一个函数,只是传一个字符串就结束了,但是体现了socket的连接建立过程...
WIN32 API写的第一个函数,只是传一个字符串就结束了,但是体现了socket的连接建立过程-WIN32 API to write a function of just one-on the end of a string, but the embodiment of the socket connection establishment process
- 2022-08-22 16:15:41下载
- 积分:1
-
用INDY做的聊天程序 用INDY做的聊天程序
用INDY做的聊天程序 用INDY做的聊天程序-INDY do use chat program used to do chat program INDY
- 2023-04-06 17:25:03下载
- 积分:1
-
prepared using the API function procedures, the document can be achieved free!
利用API函数编写的程序,可以实现文件的自由传送!-prepared using the API function procedures, the document can be achieved free!
- 2023-06-02 23:25:03下载
- 积分:1
-
介绍了Winsock的工作原理及工作流程,结合有线电视网络运营公司的实际情况,设计了一种基于Winsoek的代收费业务网络系统,并给出了关键源代码及在某网络运营...
介绍了Winsock的工作原理及工作流程,结合有线电视网络运营公司的实际情况,设计了一种基于Winsoek的代收费业务网络系统,并给出了关键源代码及在某网络运营公司的实际运行情况.-Introduced the working principle of Winsock and workflow, combined with the cable television network operator the actual situation, design a Winsoek in lieu of charges based on the business network system, and gives a key source code and a network of operating companies in the actual running situation.
- 2022-01-24 12:25:52下载
- 积分:1
-
Client
顾客
- 2022-06-13 19:40:32下载
- 积分:1
-
类似Windows的netstat程序的程序
类似Windows的netstat程序的程序 -An app which is like to windowss netstat
- 2022-02-28 11:14:55下载
- 积分:1
-
服务器程序完成以下功能:创建套接字监听…
服务器程序要完成以下功能:创建监听Socket进行监听,当有客户端请求连接时,建立一个新的接收Socker处理这个客户的数据发送与接收;接受客户端发来的数据,并向客户端返回相应信息,本程序向客户端返回信息为接收到的信息;将接受的信息通过串口1发送出去-Server program to complete the following functions: Create Socket eavesdropping eavesdropping, when client requests a connection, the establishment of a new deal with the customers to receive Socker send and receive data accept client data sent to the client to return to the corresponding information, the procedure to return information to the client to receive the information will accept the information sent through the serial port 1
- 2022-02-14 19:57:45下载
- 积分:1