会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
李 岩
寄浮游于天地,渺沧海之一粟
博客园
首页
新随笔
联系
订阅
管理
2009年8月10日
第4章 基本TCP套接口编程
摘要: #include <sys/socket.h>int socket(int family, int type, int protocol)功能: 创建用于通信的套接字,并指定期望的通信协议类型。返回: 成功 -> 非负描述字,出错 -> -1family: 通信协议类型,AF_INET(IPv4协议),AF_INET6(IPv6协议),AF_LOCAL(Unix域协议), ...
阅读全文
posted @ 2009-08-10 20:01 李岩 - doing
阅读(454)
评论(0)
推荐(0)
编辑
公告