Hi there, I'm working with socket programming to let an embedded linux system (TS-7200 board) deal with a windows-based client. After calling "socket", "bind" and "listen" I need to call "accept" to establish the connection between client and server. How can I accept a connection in non blocking mode? With fnctl I can set this mode for my own socket file descriptor and it works with the listen command, but how can I let my program work unblocked? I need to make differnt things while waiting for data to be ready to read on the ethernet. If data can come in asyncronously from different sources (ethernet, rs-485, rs-232) how can I determine which one to choose and when? Thanks, Marco
- posted
18 years ago