question archive The number of open connections on a server can be limited
Subject:Computer SciencePrice: Bought3
The number of open connections on a server can be limited. A server, for example, might only want to have N socket connections open at any given time. The server will not allow another incoming link until an existing connection is released after N connections have been made. Could anyone please explain how a race condition can arise and what can be done to prevent it from happening? and write the solution's pseudocode.