Socket 函数库--------------------------------------------------------------------------------相关函数:socket, bind, listen, connect表头文件:#include <sys/types.h> #include <sys/socket.h>函数定义:int accept(int s, struct sockaddr *addr, int *addrlen)函数说明:accept()用来接受参数s的socket连线。参数s的socket必需先经bind()、lis Read More
posted @ 2011-05-19 10:39 ACE封印 Views(738) Comments(0) Diggs(0) Edit