- 博客(4)
- 资源 (6)
- 收藏
- 关注
原创 Networking and Sockets (2)
Connectionless Socketspeer to peer DatagramsConnectionless communications uses datagrams, which are independent chunks of data containing a destination address.There's no attempt to keep datagra
2011-11-19 16:49:06 489
原创 Networking and Sockets (3)
The Domain Name System (DNS)#include #include /* Structure to contain information about address of a service provider. */struct addrinfo{ int ai_flags; /* Input flags. */
2011-11-19 05:36:28 434
原创 Networking and Sockets (1)
Basic System calls For Connected Sockets#include int socket(int domain, int type, int protocol); // type SOCK_STREAM, SOCK_DAGRAMserverint bind(int socket_fd, const struct sockaddr* sa, so
2011-11-17 22:57:00 543
原创 ZooKeeper 通过client 对指定节点设置watcher的注意事项
ZooKeeper client 可以对某个znode设置watcher,以便当节点发生变化时,client能够获得相应的Event通知。若不设置watcher,则不能收到通知。以ZooKeeper的C Client为例,可以在调用以下3个函数,get某个节点的数据或状态时,同时设置watcher标志。zoo_exists // 节点是否存在。若设置watcher,节点被删除时,收
2011-11-14 15:20:37 5890
Item based collaborative filtering recommendation
2018-07-21
UNIX_Network_Programming_Vol1_3rd.chm
2014-08-19
Learing_Website_Development_with_Django_1.6版修改笔记
2014-06-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人