zmxu / cellbots

Automatically exported from code.google.com/p/cellbots
0 stars 0 forks source link

Put Error Checking Around Telnet Socket Creation #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the cellbots program
2. Back out of it without a proper exit to close the terminal socket
3. Try running the cellbots program again
4. You typically get an error that the socket is already in use

We should either kill and restart the socket in that case, or just skip 
opening it again and use the existing socket.

Original issue reported on code.google.com by rhickman on 26 Mar 2010 at 4:10

GoogleCodeExporter commented 9 years ago
I *think* have this working where we skip trying to make a new socket 
connection if one 
already exists. Haven't fully baked it though so leaving this bug open for now.

Original comment by rhickman on 28 Mar 2010 at 11:32

GoogleCodeExporter commented 9 years ago
Haven't used telnet in a long time. Hopefully someone else can take this one on.

Original comment by rhickman on 19 Sep 2010 at 3:54