Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - select socket
Search - select socket - List
掌握基于select的多路复用程序基本流程 掌握套接字队列的管理方法 掌握基本的套接字状态处理方法 -Based on the master select multiplexed program basic process Master socket queue management methods Have basic knowledge of the socket state processing method
Date : 2025-12-21 Size : 36kb User : 梦竹

1、 体会非阻塞套接字的非阻塞效果; 2、 体会阻塞套接字对多路复用流程的影响; 3、 体会select中设置超时时间对系统性能的影响,(在selelct中设置超时时间实际上是进入一种既不是完全阻塞,又不是持续空转的“半阻塞”状态); 4、 掌握阻塞套接字和非阻塞套接字不同情况下的程序设计思想。 -1, and understand the obstruction of the socket of blocking effect 2, realize the jam socket for multiplexed process, the effects of 3 and experience in select set overtime time effect the performance of the system, and (in selelct set in overtime time is actually into a is not completely blocked, and not continue the "half a block" idling state) 4, master jam socket and a non-blocking socket different conditions in the program design thought.
Date : 2025-12-21 Size : 31kb User : 梦竹
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.