none
Socket programming RRS feed

  • Question

  • In a TCP SERVER PROGRAM

    what happens if the backlog value is 0 in the listen function.

    Will the server accept connections in that case?

    What will be the result in varios os?

     

    Saturday, March 1, 2008 7:34 AM

All replies

  • Hi,

    Setting the backlog parameter to 0 will break all existing connections to the socket.

    Also you can find all information about sockets here:

    http://msdn2.microsoft.com/en-us/library/ms740673%28VS.85%29.aspx
    Monday, March 3, 2008 10:55 AM