recv timeout

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Sat Sep 25 13:44:46 UTC 2004


Steve Holle wrote:
> I figured out how to do it using select and it seems to be working 
> pretty well.
> I found an excellent beginners reference to sockets called "Beej's Guide 
> to Network Programming Using Internet Sockets."  Excellent reference to 
> us "babes in the woods."

If you have a simple example of doing  receive timeout as an RTEMS
application, please submit it.  It might be nice to add it to the
network demos.

> At 10:57 AM 9/24/2004, Steve Holle wrote:
> 
>> I have a simple socket application and I would like to timeout recv 
>> after a fixed period of inactivity.  I found an article showing how to 
>> do it using select but I am under the impression this is not supported.
>>
>> What would be the best way to accomplish the timeout.
>>
>> Steve Holle
>> Link Communications, Inc.
>> 1035 Cerise Rd.
>> Billings, MT  59101
>> sholle at link-comm.com
> 
> 
> Steve Holle
> Link Communications, Inc.
> 1035 Cerise Rd.
> Billings, MT  59101
> sholle at link-comm.com 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list