摘要:
1 /* 2 此程序是tcp/ip通信服务器端程序,测试运行在redhat5上 3 重构readline函数,解决粘包问题——利用“\n”识别一个消息边界 4 */ 5 6 #include 7 #include 8 #include 9 #include 10 #includ... 阅读全文
posted @ 2015-09-17 11:37
e-data
阅读(185)
评论(0)
推荐(0)
摘要:
1 /*此程序是tcp/ip通信的客户机端程序, 2 测试运行在redhat6系统上 3 重构readline函数,解决粘包问题——利用“\n”识别一个消息边界 4 */ 5 #include 6 #include 7 #include 8 #include 9 #inc... 阅读全文
posted @ 2015-09-17 11:37
e-data
阅读(162)
评论(0)
推荐(0)

浙公网安备 33010602011771号