David Ruggles wrote: > retc = SockSetSockOpt(s, 'SOL_SOCKET', 'SO_RCVTIMEO', 180) -- 3 minutes > > This returns zero on windows but sockaccept still doesn't time out; on Linux > it returns -1 with an error code of 22 which is "Invalid Argument" > > It didn't work with the class either. > > Thanks, > > David Ruggles > CCNA MCSE (NT) CNA A+ > Network Engineer Safe Data, Inc. > (910) 285-7200 [EMAIL PROTECTED] > > > ------------------------------------------------------------------------- > 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=/ > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > > Up until recently the Linux kernel was not able to read/set the SO_RCVTIMEO or the SOSNDTIMEO options. I think it started with the 2.6.12 kernel where this was fixed. What kernel are you running?
David Ashley ------------------------------------------------------------------------- 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=/ _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
