-
TCP Server
- Blocking: 1Server-1Client
- NonBlocking: by linux-select
- NonBlocking: by linux-epoll
- IPv4
- MaxClientSize
- Read from clients, Write to clients
-
TCP Client
- Write to server, Read from server
- IPv4
- Client connect to clients by server dispatching
-
Features Append:
- server read/write, client read/write both in both sides.
- client-client connects in chat-room mode dispatched by server.
- IPv6 Nerwork.
- server give the avaliable ipv4 or ipv6 network addresses.
- sequential: barray,blist,bqueue,bstack,pair
- associative: bheap,hashtable,btree,map,rbtree,skiplist,avltree,bstree,rbtree,mavltree
- huffmantree,lfu,lru,bitmap,bloom
- json encode
- json decode
- libctr/sbuf: safe string buffer
gdb ./a.out -x a.gdbinitvalgrind --tool=memcheck --leak-check=full ./a.out