Hello,
if anyone could help me with this problem i would be very thankful since i have been trying to figure it out for days.

Basically i have a main server which has 2 serversocket connections both 'listening' for data on a specific port using the 'accept()' method, then when a connection is recieved they do something.

what i have notice is that the first accept( ) blocks, so the other accept has no chance of listening for a connection until the first is finished.

I have looked at sockets channels and non bocking with them , but this all seems to complicated , Is there anyway at all to get the 2 conections to run concurrently on my current model????

thanks in advance for any help