The listen( ) function specifies the queue for ____________
the number of users allowed to queue at the application level
the number of sockets listening
the number of users allowed in the chat room
______________________________________
Why?
the number of connection requests allowed to queue at the kernel level
The listen() specifies the queue for number of sockets which are listening. Generally for any sockets which are listening two queues are maintained.
1) An incomplete connection queue where TCP three way handshake is yet to be completed
2) A complete connection queue where handshaking mechansim with client is completed and connection is established with the clients by the server
Generally queue is maintained for many incoming TCP connections from the client to be accepted by the server until it calls accept() function.
Get Answers For Free
Most questions answered within 1 hours.