{"version":1,"pages":[{"id":"-ME5zR-1wNb4ngs_Lfet","title":"簡介","pathname":"/","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT0tPeTmixP63W5E","title":"联络译者","pathname":"/contact","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT29d-j5IDHotRQJ","title":"译者鸣谢","pathname":"/translator_comment","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT0yj6JMQSopUfs0","title":"1. 前言","pathname":"/introduction","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT0zi9PcWIpMtz4K","title":"1.1. 本书的读者","pathname":"/introduction/readers","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"1. 前言"}]},{"id":"-ME5zT1-NjIgTTx4d2A5","title":"1.2. 平台与编译器","pathname":"/introduction/platform_compiler","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"1. 前言"}]},{"id":"-ME5zT10BRCLLJluPpF8","title":"1.3. 官方网页与书本","pathname":"/introduction/guan_fang_wang_ye_yu_shu_ben","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"1. 前言"}]},{"id":"-ME5zT113NEODkwoQU12","title":"1.4. Solaris/SunOS 程序员要注意的事情","pathname":"/introduction/solarissunos_cheng_shi_she_ji_shi_gai_zhu_yi_de_shi","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"1. 前言"}]},{"id":"-ME5zT12VA60VpZM5qek","title":"1.5. Windows 程序员要注意的事情","pathname":"/introduction/windows_cheng_shi_she_ji_shi_gai_zhu_yi_de_shi","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"1. 前言"}]},{"id":"-ME5zT13MzwECu4peQdH","title":"1.6. 来信原则","pathname":"/introduction/lai_xin_yuan_ze","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"1. 前言"}]},{"id":"-ME5zT14y4C1718jKvjO","title":"1.7. 镜像站台（Mirroring）","pathname":"/introduction/jing_she_zhantai_ff08_mirroring","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"1. 前言"}]},{"id":"-ME5zT15xRczVfIIZMpd","title":"1.8. 译者该注意的","pathname":"/introduction/yi_zhe_gai_zhu_yi_de","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"1. 前言"}]},{"id":"-ME5zT16IopXgXBn3v_6","title":"1.9. 版权与出版（Copyright and Distribution）","pathname":"/introduction/ban_quan_yu_san_bu","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"1. 前言"}]},{"id":"-ME5zT174IpH3cdlFFSv","title":"2. 何谓 Socket","pathname":"/whatissocket","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT18sflX46u7Csu4","title":"2.1. 两种 Internet Sockets","pathname":"/whatissocket/liang_zhong_internet_sockets","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"2. 何谓 Socket"}]},{"id":"-ME5zT19-7XV6SAGygjY","title":"2.2. 底层漫谈与网路理论","pathname":"/whatissocket/di_ceng_man_tan_yu_wang_lu_li_lun","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"2. 何谓 Socket"}]},{"id":"-ME5zT1ANgJ4PeAXjUxx","title":"3. IP address丶结构与数据转换","pathname":"/ipaddress_struct","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT1Bkb2csh_55y_d","title":"3.1. IPv4 与 IPv6","pathname":"/ipaddress_struct/ipv4_yu_ipv6","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"3. IP address丶结构与数据转换"}]},{"id":"-ME5zT1Cd2fb7We3UO4L","title":"31.1. Sub network (子网)","pathname":"/ipaddress_struct/ipv4_yu_ipv6/sub-network-zi-wang-6bb529","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"3. IP address丶结构与数据转换"},{"label":"3.1. IPv4 与 IPv6"}]},{"id":"-ME5zT1D8LXnxRzUEOkS","title":"3.1.2. Port Number（连接埠号码）","pathname":"/ipaddress_struct/ipv4_yu_ipv6/port-numberff08-lian-jie-bu-hao-ma-ff09","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"3. IP address丶结构与数据转换"},{"label":"3.1. IPv4 与 IPv6"}]},{"id":"-ME5zT1EPdYAMelBTpMQ","title":"3.2. Byte Order（字节的顺序）","pathname":"/ipaddress_struct/byte_orderff08_wei_yuan_zu_shun_xu_ff09","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"3. IP address丶结构与数据转换"}]},{"id":"-ME5zT1FOsUX0cTr25nO","title":"3.3. 数据结构","pathname":"/ipaddress_struct/zi_liao_jie_gou","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"3. IP address丶结构与数据转换"}]},{"id":"-ME5zT1GZi4chcop45sK","title":"3.4. IP address，Part II","pathname":"/ipaddress_struct/ip_wei_zhi_ff0c_xu_ji","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"3. IP address丶结构与数据转换"}]},{"id":"-ME5zT1Hs8rY8Yv8wW5o","title":"3.4.1. Private Network","pathname":"/ipaddress_struct/ip_wei_zhi_ff0c_xu_ji/private-network","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"3. IP address丶结构与数据转换"},{"label":"3.4. IP address，Part II"}]},{"id":"-ME5zT1Ix6OZdtAoWSUB","title":"4. 从 IPv4 移植为 IPv6","pathname":"/ipv4toipv6","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT1JwcFARbj8nfLt","title":"5. System call 或 Bust","pathname":"/system_call","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT1K5h5DEDqr_RlI","title":"5.1. getaddrinfo()－准备开始！","pathname":"/system_call/getaddrinfo","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1Lt6FKUnUAwgw6","title":"5.2. socket()－取得 File Descriptor！","pathname":"/system_call/socket","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1MWwZwcalzD-Po","title":"5.3. bind()－ 我在哪個 port？","pathname":"/system_call/bind_wo_zai_na_ge_port","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1N5MLCxiTJ2sB6","title":"5.4. connect()，嘿!你好。","pathname":"/system_call/connectff0c_hei_ff01_ni_hao_3002","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1OolUybMJg4ktT","title":"5.5. listen()－有人会调用我吗？","pathname":"/system_call/listenff0d_you_ren_hui_hu_jiao_wo_ma_ff1f","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1P35DC7xBUN5US","title":"5.6. accept()－\"谢谢你调用 port 3490\"","pathname":"/system_call/accept_xie_xie_ni_call_3490_port","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1QjuoAn0Ta_MpR","title":"5.7. send() 与 recv()－ 宝贝，跟我说说话！","pathname":"/system_call/send_yu_recv__bao_bei_ff0c_wo_men_lai_liao_tian_ff01","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1Rzp50bhKBKdaZ","title":"5.8. sendto() 与 recvfrom()－ 用 DGRAM 风格跟我说说话","pathname":"/system_call/sendto_yu_recvfrom__lai_dian_dgram","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1SiVgxKZiKZHKG","title":"5.9. close() 与 shutdown()－从我面前消失吧！","pathname":"/system_call/close_yu_shutdown__ni_xiao_shi_ba_ff01","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1TlO1CUXTsR-VJ","title":"5.10. getpeername()－你是谁？","pathname":"/system_call/getpeernameff0d_ni_shi_shui_ff1f","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1U8Qg3NTe6F404","title":"5.11. gethostname()－我是誰？","pathname":"/system_call/gethostnameff0d_wo_shi_shui_ff1f","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"5. System call 或 Bust"}]},{"id":"-ME5zT1V9v7e3UwTCyHJ","title":"06-Client-Server 基础","pathname":"/client-server_basic","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT1WuBtIiI27n2HU","title":"6.1. 简易的 Stream Server","pathname":"/client-server_basic/jian_dan_de_stream_server","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"06-Client-Server 基础"}]},{"id":"-ME5zT1XKDP4nbrnPGy7","title":"6.2. 简易的 Stream Client","pathname":"/client-server_basic/jian_dan_de_stream_client","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"06-Client-Server 基础"}]},{"id":"-ME5zT1Ynf2NL7Vco0Oy","title":"6.3. Datagram Sockets","pathname":"/client-server_basic/datagram_sockets","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"06-Client-Server 基础"}]},{"id":"-ME5zT1ZzP0uYt8qisj3","title":"07-高等技术","pathname":"/advanced_tech","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT1_f_GbmWcZ6n8v","title":"7.1. Blocking（阻塞）","pathname":"/advanced_tech/blockingff08_zu_sai_ff09","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"07-高等技术"}]},{"id":"-ME5zT1amnCUtUZFrmcx","title":"7.2. select()－同步 I/O 多工","pathname":"/advanced_tech/selectff1a_tong_bu_i__o_duo_gong","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"07-高等技术"}]},{"id":"-ME5zT1bwmcNd2QuO_1w","title":"7.3. 不完整传送的後续处理","pathname":"/advanced_tech/bu_wan_zheng_chuan_song_de_hou_xu_chu_li","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"07-高等技术"}]},{"id":"-ME5zT1cfxsoZU3voWK9","title":"7.4. Serialization：如何封装数据","pathname":"/advanced_tech/serializationff1a_ru_he_feng_zhuang_zi_liao","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"07-高等技术"}]},{"id":"-ME5zT1dFxBueeuCwMRb","title":"7.5. 数据封装","pathname":"/advanced_tech/zi_liao_feng_zhuang","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"07-高等技术"}]},{"id":"-ME5zT1eU2z06PrdRT6U","title":"7.6. 广播数据包：Hello World！","pathname":"/advanced_tech/guang_bo_feng_bao_ff1a_hello_world","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"07-高等技术"}]},{"id":"-ME5zT1fD97ATU2aX721","title":"8. 常见的问题","pathname":"/faq","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT1gDIIiIyP3Rlx4","title":"9. Man 使用手册","pathname":"/man","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT1hpSNZhKFuFqME","title":"9.1. accept()","pathname":"/man/accept","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1iw83FndrVHxoD","title":"9.2. bind()","pathname":"/man/bind","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1jZynS2ZJrKffb","title":"9.3. connect()","pathname":"/man/connect","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1kgmZyMQjd5S0F","title":"close()","pathname":"/man/close","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1lxJUD_vIlR9mL","title":"getaddrinfo(), freeaddrinfo(), gai_strerror()","pathname":"/man/getaddrinfo-_freeaddrinfo-_gaistrerror","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1mx9N_1n1IrpO8","title":"gethostname()","pathname":"/man/gethostname","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1nLXtksgMSiAlD","title":"gethostbyname(), gethostbyaddr()","pathname":"/man/gethostbyname-_gethostbyaddr","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1oWzBSZtoPGDe7","title":"getnameinfo()","pathname":"/man/getnameinfo","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1pDIIA0fJsIysU","title":"getpeername()","pathname":"/man/getpeername","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1qF9PsGqCvtr2n","title":"errno","pathname":"/man/errno","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1rfwuySHrDV003","title":"fcntl()","pathname":"/man/fcntl","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1sGaOMPUg0nrR6","title":"htons(), htonl(), ntohs(), ntohl()","pathname":"/man/htons-_htonl-_ntohs-_ntohl","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1t-ZQPe4hM3ZGB","title":"inet_ntoa(), inet_aton(), inet_addr","pathname":"/man/inetntoa_-_inetaton_-_inetaddr","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1uSVHvOQYCNgPe","title":"inet_ntop(), inet_pton()","pathname":"/man/inetntop_-_inetpton","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1vDgdSYOH4iMIV","title":"listen()","pathname":"/man/listen","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1w7-phdwsYbr-Z","title":"perror(), strerror()","pathname":"/man/perror-_strerror","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1xpYOLZiQNcWUD","title":"poll()","pathname":"/man/poll","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1yE0BfRrc7pkUN","title":"recv(), recvfrom()","pathname":"/man/recv-_recvfrom","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT1zpnXHsgV0HO1O","title":"select()","pathname":"/man/select","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT2-RFF2k2UTbtrX","title":"setsockopt(), getsockopt()","pathname":"/man/setsockopt-_getsockopt","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT20pRN8mQeIAgzD","title":"send(), sendto()","pathname":"/man/send-_sendto","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT21-hnjoY3TqgJD","title":"shutdown()","pathname":"/man/shutdown","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT229PzKdVzbGE3p","title":"socket()","pathname":"/man/socket","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT231vgu3mI28CKO","title":"struct sockaddr and pals","pathname":"/man/struct_sockaddr_and_pals","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"9. Man 使用手册"}]},{"id":"-ME5zT24sYT0IKRtPWcg","title":"10-参考文献","pathname":"/reference","siteSpaceId":"sitesp_UQGlp","description":""},{"id":"-ME5zT250NoGgVhAbGsn","title":"10.1. 书籍","pathname":"/reference/shu_ji","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"10-参考文献"}]},{"id":"-ME5zT26In1ecyFdX3kY","title":"10.2. 网站参考资料","pathname":"/reference/wang_zhan_can_kao_zi_liao","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"10-参考文献"}]},{"id":"-ME5zT27KkIE2IMEwfSi","title":"10.3. RFC","pathname":"/reference/rfc","siteSpaceId":"sitesp_UQGlp","description":"","breadcrumbs":[{"label":"10-参考文献"}]},{"id":"-ME5zT28gzExz_OtAmdF","title":"11. 原着鸣谢","pathname":"/original_comment","siteSpaceId":"sitesp_UQGlp","description":""}]}