How does the .accept() method work?
843790Mar 28 2007 — edited Mar 30 2007Hi,
I have checked the source code of the ServerSocket implementation that comes with the jdk.
I tought I was going to find some type of loop. However I found nothing like that! so how does the accept method work.
I mean when we call the .accept() method, the thread in which the socketServer is initialized gets stoped untill a new client connection is recieved! how is this actually managed?
Regards,
Sim085