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