in the following code, it seems to me that a ServerSocket on port 3333 ought to be created, then it should wait for a connection, and then it should set up a Dialogue (extends
Thread) with that socket. Then, it should reset itself. HOWEVER, it appears to be giving a number of Adress Already In Use Exceptions before reseting, which says to me that the port is taking some time before closing and reopening. it seems that the time it takes increases rapidly, until eventually it fails altogether to reopen. Any ideas on how to make it immediatly reopen?