摘要: 然后基本的socket编程,用TCP做两个进程互相发消息。C端主动发hello,S端收到后回world。 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <sys/types.h> 4 #include <sys/socket.h> 5 # 阅读全文
posted @ 2018-02-08 21:40 习惯就好233 阅读(273) 评论(0) 推荐(0) 编辑