点对点通信实例
摘要:
实现点对点通信,双方都能发送数据、接收数据,双方维护套接字。read对方数据和read键盘输入目前使用两个进程来实现。 服务器进程: 客户端程序代码: 阅读全文
posted @ 2018-02-03 19:14 wsw_seu 阅读(1343) 评论(0) 推荐(0) 编辑
posted @ 2018-02-03 19:14 wsw_seu 阅读(1343) 评论(0) 推荐(0) 编辑
posted @ 2018-02-03 16:54 wsw_seu 阅读(176) 评论(0) 推荐(0) 编辑
posted @ 2018-02-03 15:40 wsw_seu 阅读(197) 评论(0) 推荐(0) 编辑
posted @ 2018-02-03 14:18 wsw_seu 阅读(412) 评论(0) 推荐(0) 编辑