Altera_Forum
Honored Contributor
14 years agoInterNiche Stack select POSIX compliant?
I'm trying to modifying the SimpleSocketServer example. There is a select system call which operates on sockets. I also passed it stdin which appeared appeared to work but I am getting some strange behavior. I looked briefly at the code implementing select and related functions, and it looks specific to sockets. Is this actually the case?
If so, how can I do asynchronous IO. I want to listen to a socket and stdin.