2011年7月4日

BSD Sockets API 编程

摘要: intsocket(int family, int type, int protocol);Creates a socket. Currentlyfamilycan only beAF_INET(OT does not support IPv6 so there is no AF_INET6 support).protocolcan bePF_INETorPF_UNSPEC(both have the same effect of creating an internet socket.typecan beSOCK_STREAMfor TCP sockets orSOCK_DGRAMfor U 阅读全文

posted @ 2011-07-04 17:21 游戏开发:主席 阅读(1667) 评论(1) 推荐(1) 编辑

导航