摘要: 说明:所有的winsock的定义用的是jwawinsock2。(整个包的下载:http://blog.delphi-jedi.net/home/)主要函数:select目的:允许那些想要避免在套接字调用上阻塞的应用程序有能力管理多个套接字。函数定义:select(nfds:integer;readfds:Pfd_set;writefds:Pfd_set;exceptfds:Pfd_set;timeout:Ptimeval)套接集合:FD_SET结构PFD_SET=^Fd_setFd_set=record fd_count:integer; fd_array:array[0..FD_SETSIZ 阅读全文
posted @ 2011-04-28 15:18 菜程序员 阅读(1889) 评论(2) 推荐(0) 编辑