In the below line (from tcp.h), what is the maxpend?
Is it the limit of ports that can be configured to listen for a tcp connection?
Can i increase this value?
"inline int listen( IPADDR4 addr, WORD port, BYTE maxpend = 5 )"
Thanks,
Tim Snelling
listen( maxpend = 5 )
Re: listen( maxpend = 5 )
Hi Tim,
The listen() process things one at a time. The maxpend is a queue for requests that come in; they are put in a pend queue and processed in order.
The listen() process things one at a time. The maxpend is a queue for requests that come in; they are put in a pend queue and processed in order.