On the contrary. select() works on sets of sockets, so with a good design its quite possible to poll all of your inbound sockets to see who is ready to be read.
Read up on and its option that most clients support.
You'll need to use ANSI escape codes for these. has a good list. The one you're interested in is <ESC>[6n.
Yes.
|