摘要: TCP、UDP编程一般称为Socket套接字编程2.2 套接字的创建和关闭原型如下 int socket(int af,int type,int protocol)结束套接字int close(int d)2.3 Blocking 和 Nonblocking调用特定套接字函数进行数据发送或接收时,... 阅读全文
posted @ 2015-01-03 13:16 珊符 阅读(96) 评论(0) 推荐(0) 编辑
摘要: TCP、UDP编程一般称为Socket套接字编程2.2 套接字的创建和关闭原型如下 int socket(int af,int type,int protocol)结束套接字int close(int d)2.3 Blocking 和 Nonblocking调用特定套接字函数进行数据发送或接收时,... 阅读全文
posted @ 2015-01-03 13:16 珊符 阅读(129) 评论(0) 推荐(0) 编辑