Let me start by giving you the simplest answer and see if that
helps... try { ENTER YOUR sock = new ServerSocket, ect, HERE }catch
(EOFException e) ... although I find it odd to return an
EOFException, more likely an IOException, for failure to connect to
the client... but then again I'm only speculating... hope this does
not insult... but I've got to start somewhere...