Problems with select

Chris Johns chrisj at rtems.org
Sat Dec 4 01:50:26 UTC 2004


Camilo Alejandro Arboleda wrote:
> 
> I'm having trouble with select(). It returns -1, but the the networking 
> is working fine. What can cause select() to return -1?
> 
> I don´t know if there are any generic reasons for that, or it depends 
> only on my code or both.
> 

Select can return -1 on an error and errno is set appropriately.

What is errno set to ?

-- 
  Chris Johns



More information about the users mailing list