On Dec 3, 2008, at 4:05 PM, Paul M Fleming wrote: > ... [snip other stuff I'll get to when I have more time] ... > > I'm new to the cosign codebase. Is their anyway to determine if the > snet_getline returns as a result of a timeout or is a select > required to > do that?
snet_getline uses select internally. In the case of a timeout, snet_getline sets errno to ETIMEDOUT, which you can check for in the caller. andrew ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cosign-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cosign-discuss
