Duplicate :
|
|
Duplicate :
|
|
Relates :
|
The number of backlog in ServerSocket(int port, int backlog) Constructor is explained simply as follows. " Parameters: port - the specified port, or 0 to use any free port. backlog - the maximum length of the queue." http://java.sun.com/j2se/1.4.2/docs/api/index.html http://java.sun.com/j2se/1.5.0/docs/api/index.html However, even if we specify preferable number as the number of backlog , actual number depends on underlying Opreationg System. The documnet should say the below(just example). "Parameters: port - the specified port, or 0 to use any free port. backlog - Request of size of the backlog is just passed to underlying OS. How the OS performs with the request depends on each OS." ===================================================================== ###@###.### 2005-04-20 06:15:45 GMT
|