problem with SocketServer -- address already in use
Constantinos A. Kotsokalis
C.Kotsokalis at ece.ntua.gr
Tue Jul 13 17:49:07 EDT 1999
More information about the Python-list mailing list
Tue Jul 13 17:49:07 EDT 1999
- Previous message (by thread): Wrapping C++ w/inheritance
- Next message (by thread): problem with SocketServer -- address already in use
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 13 Jul 99 21:05:28 GMT, Phil Hunt wrote: >I'm trying to use SocketServer.py to write a TCP server. I ran >my program with ``python serv.py'', which went into an infinite >loop (which is what it should do). I exited my program with ^Z, _____________________________________________________________^^ >and tried to start it up again. I got an error message: > >socket.error: (98, 'Address already in use') ctrl-Z suspends your server, so the port is still occupied. Use ctrl-C to interrupt it and wait, or use setsockopt as Gordon suggests and ctrl-C. In any case, you can't use that port again with a suspened server. --C -- Constantinos A. Kotsokalis || C.Kotsokalis at ece.ntua.gr National Technical University of Athens - GREECE Electrical and Computer Engineering Department "Bus error -- driver executed."
- Previous message (by thread): Wrapping C++ w/inheritance
- Next message (by thread): problem with SocketServer -- address already in use
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list