Home:ALL Converter>why use backlog in socket_listen()

why use backlog in socket_listen()

Ask Time:2016-11-05T16:10:03         Author:prasanth

Json Formatter

socket_listen()

I was see the manual of socket_listen().Still i don't get the point of

bool socket_listen ( resource $socket [, int $backlog = 0 ] )

1.What is the backlogs in this case ?

2.And Why use with socket_listen() and what is use of it?

3.What happen backlogs remove from socket_listen()

  1. Why use the backlog values like 0,1,2,3?

kindly explain the above question.

Thanks

Author:prasanth,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/40436093/why-use-backlog-in-socket-listen
yy