BCS wrote:
> okibi wrote:
>>> while (true)
>>> {
>>> Socket clientSocket = soc.accept();
>
> if it runs to here then you have accepted a connection, if it gets here
> a second time, you have accepted a second connection.
Maybe it's worth noting that it takes only one connection
at a time unlike most real servers which handle concurrent
connections.
-- James