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



If you do not want your program to halt while it waits for a connection, put the call to accept( ) i..

Answer / Hema Singh

"Correct". By creating a new thread to handle the call to accept(), your main program continues executing without waiting for incoming connections.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Networking Interview Questions

What is a client tester?

1 Answers  


What is an http server?

1 Answers  


how to know which version of java is running on ur computer using command prompt?

2 Answers   BeBo Technologies,


What do you understand by the term network?

1 Answers  


Explain look for local ports?

1 Answers  


What is a port?

6 Answers  


What is URL?

6 Answers   Wipro,


What is Domain Naming Service (DNS)?

3 Answers  


What is the purpose of HTTP tunneling?

6 Answers  


What are the advantages and disadvantages of sockets?

1 Answers  


Why socketutil is used?

1 Answers  


What are the advantages and disadvantages of java sockets.

1 Answers  


Categories