摘要: 转自:https://blog.csdn.net/wushuomin/article/details/80051295 1.pthread_create #include <pthread.h> int pthread_create( pthread_t *restrict tidp, //新创建的 阅读全文
posted @ 2021-06-09 18:57 lypbendlf 阅读(1008) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/henry115/article/details/7054603 1. 原型 int recv( SOCKET s, char FAR *buf, int len, int flags); 不论是客户还是服务器应用程序都用recv函数从TCP连接的另 阅读全文
posted @ 2021-06-09 14:39 lypbendlf 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/weixin_40039738/article/details/81095013 1.声明 原型: #include <sys/types.h> #include <sys/socket.h> int socketpair(int d, int ty 阅读全文
posted @ 2021-06-09 11:23 lypbendlf 阅读(291) 评论(0) 推荐(0) 编辑