Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - select socket
Search - select socket - List
Linux环境登陆源码-landing-source Linux environment
Date : 2025-12-20 Size : 4kb User : 卢凤晖

DL : 0
select socket linux网络编程-select socket
Date : 2025-12-20 Size : 1kb User : fcode

DL : 0
linux下使用select函数实现多个socket无阻塞连接-linux use select function of multiple non-blocking socket connect
Date : 2025-12-20 Size : 1kb User : jususe

DL : 0
linux系统下一个简单的聊天程序,主要用socket和select实现的-linux system a simple chat program, the main achievement of the socket and select
Date : 2025-12-20 Size : 16kb User : cxt

linux 环境下socket编程select的使用方法.-socket programming under linux to use select.
Date : 2025-12-20 Size : 4kb User : kusiya

DL : 0
linux下套接口函数实现的一个聊天室程序-linux socket function to achieve under a chat room program
Date : 2025-12-20 Size : 3kb User : 魏江涛

socket-select,大家互相学习-socket-select,dajiahuxiangxuexi !!!
Date : 2025-12-20 Size : 14kb User : CHENG

通过UDP和select函数来实现非阻塞的通话机制,已达到客户端之间的通讯-Through the UDP and select functions to achieve non-blocking call mechanism, has reached the communication between the client
Date : 2025-12-20 Size : 16kb User : 方言

利用TCP/IP协议,使用socket编程模型和curses界面,实现基本聊天功能;分为服务器和客户端,服务器负责收发数据,以及对连接的客户端进行连接,客户端连接上服务器后就可以正常的通信。-Using TCP/IP protocol, the use of socket programming model and curses interface, to achieve the basic chat functions divided into server and client, server is responsible for sending and receiving data, and the connected clients to connect, the client can connect to the server after the normal communication.
Date : 2025-12-20 Size : 2kb User : 德良

DL : 0
*使用select函数可以以非阻塞的方式和多个socket通信。程序只是演示select函数的使用,即使某个连接关闭以后也不会修改当前连接数,连接数达到最大值后会终止程序。 1. 程序使用了一个数组fd,通信开始后把需要通信的多个socket描述符都放入此数组 2. 首先生成一个叫sock_fd的socket描述符,用于监听端口。 3. 将sock_fd和数组fd中不为0的描述符放入select将检查的集合fdsr。 4. 处理fdsr中可以接收数据的连接。如果是sock_fd,表明有新连接加入,将新加入连接的socket描述符放置到fd。 */ // select_server.c-* use Select function with non blocking mode and multiple socket communication. The program is the use of demonstration of select function, even if a connection is closed will not modify the current number of connections, the number of connections after reaching the maximum value will terminate the program. 1 procedures for the use of an array of FD, communication after the start of the multiple socket descriptor communication in this array 2 first generate a call sock_fd socket descriptor, for listening port. 3 the sock_fd and array FD is not 0 descriptors in select will check the set fdsr. 4 fdsr can be connected to receive data. If sock_fd, indicates that there is a new connection to join, will join the new connection socket descriptor is placed into the fd.* //select_server.c
Date : 2025-12-20 Size : 3kb User : 辰枫
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.