What does the parameter of 1 mean in `listen(1)` method of socket module in python? -


what parameter of 1 mean in listen(1) method of socket. using socket module in python 2.7 , have created basic server want connect multiple clients (all on local machine) , transmit data between them. know there simpler ways of doing want practice when clients not on same machine , may need retrieve server first not bypass it. wondering if 1 in listen referred amount of connections server make @ single time , if not did mean. want understand in detail how parts of process work appreciated.

it defines length of backlog queue, number of incoming connections have been completed tcp/ip stack not yet accepted application.

it has nothing whatsoever number of concurrent connections server can handle.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -