mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
Doc addition.
git-svn-id: file:///svn/unbound/trunk@25 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
f6ae1381a6
commit
30ad5a1a52
1 changed files with 9 additions and 3 deletions
|
|
@ -56,8 +56,10 @@ struct comm_point {
|
|||
struct comm_point tcp_parent;
|
||||
|
||||
/* -------- TCP Accept -------- */
|
||||
/** current and max number of TCP connections on this socket */
|
||||
int cur_tcp_count, max_tcp_count;
|
||||
/** current number of TCP connections on this socket */
|
||||
int cur_tcp_count;
|
||||
/** the number of TCP handlers for this tcp-accept socket */
|
||||
int max_tcp_count;
|
||||
/** malloced array of tcp handlers for a tcp-accept,
|
||||
of size max_tcp_count. */
|
||||
struct comm_point *tcp_handlers;
|
||||
|
|
@ -66,7 +68,11 @@ struct comm_point {
|
|||
struct comm_point *tcp_free;
|
||||
|
||||
/** is this a UDP, TCP-accept or TCP socket. */
|
||||
enum comm_point_type {comm_udp, comm_tcp_accept, comm_tcp} type;
|
||||
enum comm_point_type {
|
||||
comm_udp, /** UDP socket */
|
||||
comm_tcp_accept, /** TCP accept socket */
|
||||
comm_tcp /** TCP handler socket */
|
||||
} type;
|
||||
|
||||
/** what to do when read/write is done.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue