2019年8月15日

摘要: 阅读全文
posted @ 2019-08-15 23:32 lydstory 阅读(187) 评论(0) 推荐(0)
摘要: 格式化抽象本地地址传统AF_UNIX套接口名字的麻烦之一就在于总是调用文件系统对象。这不是必须的,而且也不方便。如果原始的文件系统对象并没有删除,而在bind调用时使用相同的文件名,名字赋值就会失败。Linux 2.2内核使得为本地套接口创建一个抽象名了成为可能。他的方法就是使得路径名的第一个字节为 阅读全文
posted @ 2019-08-15 20:53 lydstory 阅读(317) 评论(0) 推荐(0)
摘要: netstat -pa --unix >>test.txt 输出套接字 命名socket信息 阅读全文
posted @ 2019-08-15 20:43 lydstory 阅读(177) 评论(0) 推荐(0)
摘要: #define wrap_call(dtype, x) \ do { \ dtype result; \ do { \ result = x; \ } while ((result == -1) && (errno == EINTR)); \ return result; \ } while (0) int accept_noeintr(int socket, struct sockaddr *r 阅读全文
posted @ 2019-08-15 19:05 lydstory 阅读(206) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_35904259/article/details/61204130 阅读全文
posted @ 2019-08-15 17:14 lydstory 阅读(153) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-08-15 16:08 lydstory 阅读(422) 评论(0) 推荐(0)
摘要: https://baike.baidu.com/item/%E9%BD%90%E6%AC%A1%E6%96%B9%E7%A8%8B/7066764?fr=aladdin 阅读全文
posted @ 2019-08-15 15:28 lydstory 阅读(188) 评论(0) 推荐(0)
摘要: ZooKeeper是一个分布式的,开放源码的分布式应用程序协调服务,是Google的Chubby一个开源的实现,是Hadoop和Hbase的重要组件。它是一个为分布式应用提供一致性服务的软件,提供的功能包括:配置维护、域名服务、分布式同步、组服务等。 ZooKeeper的目标就是封装好复杂易出错的关 阅读全文
posted @ 2019-08-15 14:13 lydstory 阅读(153) 评论(0) 推荐(0)

导航