摘要: 本文摘录自《UNIX网络编程 卷1》。基本套接字函数 socket函数 为了执行网络I/O,一个进程必须做的第一件事就是调用socket函数,指定期望的通信协议类型。其定义如下:#include int socket(int family, int type, int protoco... 阅读全文
posted @ 2015-07-01 18:12 峰子_仰望阳光 阅读(1906) 评论(0) 推荐(0) 编辑