Public serversocket(int port, int queuelength) throws ioexception, bindexception?



Public serversocket(int port, int queuelength) throws ioexception, bindexception?..

Answer / Madhur Gautam

"Correct". The ServerSocket constructor takes an integer argument for the listening port and another one for maximum queue length. It can throw IOException and BindException exceptions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Networking Interview Questions

Where is the network interface card located?

1 Answers  


What is meant by time-slicing?

9 Answers   Accenture, Wipro,


Explain the generic term internet.

1 Answers  


Tell me about networking classes and interfaces.

1 Answers   Akamai Technologies,


If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?

1 Answers  


How we can make simple java program for Server/Client Communication

1 Answers   PUCIT,


What is Inet address?

17 Answers  


where u can used in real time "protect" specifier or real world example of protect specifier

1 Answers   CTS,


What are the advantages and disadvantages of java sockets.

1 Answers  


What do you understand by the term network?

1 Answers  


What is meant by TCP, IP, UDP?

11 Answers   TCS, Wipro,


What is the difference between TCP and UDP ?

10 Answers   Religare,


Categories