UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

#1 2011-08-23 12:09 PM

soc_nov
Guest

Time Out Reasons

Can somebody tell me what are differnet scenarios which causes to time out in select system call in socket programming.

#2 2011-08-23 12:14 PM

RobSeace
Administrator
From: Boston, MA
Registered: 2002-06-12
Posts: 3,839
Website

Re: Time Out Reasons

Different scenarios?  There's only one reason select() will timeout (return 0), and that's that your specified timeout value has elapsed without any action on your monitored FDs...

Offline

Board footer

Powered by FluxBB