in reply to Can't use MSN
But I can't input any command to CLI window(no operate,no echo).
I don't see any code that reads from STDIN or the terminal.
if the connection is really dead, will it even be showing up in the list of filehandles that can be read from??
Yes. select returns closed file handles as "Readable" so you can do some error handling and/or some cleanup.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |