上一页 1 ··· 510 511 512 513 514 515 516 517 518 ··· 583 下一页

2019年8月12日

摘要: gcc -std=c99 阅读全文
posted @ 2019-08-12 13:43 lydstory 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 三.命名套接字 之前的socket只是创建了一个没有名字的资源,其他进程无法访问他.所以也无法从它接受消息.只有当bind给套接字绑定了端口和名字后,其他进程才能找到它. 一般服务器是一定要bind,但是客户端就不一定了.如果做一个简单的echo服务器的话,那么客户端只直接去connect服务器就可 阅读全文
posted @ 2019-08-12 11:17 lydstory 阅读(1489) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/zahuopuboss/article/details/9815751 阅读全文
posted @ 2019-08-12 10:30 lydstory 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 头文件一般放在/usr/include目录下,用grep 'IFF_UP' /usr/include/*.* |less这个命令查找一下在哪个头文件里面有定义。 追问 嗯~这个方法确实可以查找到一些函数,可是我的IFF_UP查不到( ⊙ o ⊙ )如果要使用的IFF_UP的话就不知道要在哪里去解决下 阅读全文
posted @ 2019-08-12 10:25 lydstory 阅读(644) 评论(0) 推荐(0) 编辑
摘要: linux hg 查看当前提交的所有版本及注释? linux hg 查看当前提交的所有版本及注释? linux hg 查看当前提交的所有版本及注释? 回答: hg log 阅读全文
posted @ 2019-08-12 09:29 lydstory 阅读(308) 评论(0) 推荐(0) 编辑

2019年8月11日

摘要: The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type, and is also connection-oriented. The only difference between these types is that re 阅读全文
posted @ 2019-08-11 18:26 lydstory 阅读(968) 评论(0) 推荐(0) 编辑
摘要: 【转】https://blog.csdn.net/andrewgithub/article/details/81613120 正如可以给fopen的传入不同参数值,以打开不同的文件。创建socket的时候,也可以指定不同的参数创建不同的socket描述符,socket函数的三个参数分别为: doma 阅读全文
posted @ 2019-08-11 17:32 lydstory 阅读(197) 评论(0) 推荐(0) 编辑
摘要: yum install bison Missing PROG dlltool Missing PROG flex Missing PROG mt 阅读全文
posted @ 2019-08-11 02:14 lydstory 阅读(130) 评论(0) 推荐(0) 编辑
摘要: configure make 阅读全文
posted @ 2019-08-11 01:40 lydstory 阅读(110) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/yongcai1/article/details/8693068 yum install libtool 阅读全文
posted @ 2019-08-11 01:35 lydstory 阅读(788) 评论(0) 推荐(0) 编辑
上一页 1 ··· 510 511 512 513 514 515 516 517 518 ··· 583 下一页

导航