Re: How to use select() ?
- Posted by mattlewis (admin) Dec 11, 2011
- 1683 views
Atomicbomber said...
Hello,
I want to use the select() function from the core sockets library (http://openeuphoria.org/docs/std_socket.html#_4994_select), but there is no any example on the Wiki. I have tried to use it on Windows, but the program closes without giving any error messages after it tries to execute the select(), and then I tried the same syntax on Linux and it works.
Can someone provide a working example(on Windows) for me? Thanks :)
There are two chat demos in the demo/net directory: chat_client.ex, chat_server.ex. They use select().
Matt