Timeout in Sockets

Eric Norum eric at cls.usask.ca
Tue Jan 4 19:11:38 UTC 2000


Christian Haan wrote:
> 
> Hi,
> 
> I'm looking for a way to do timed socket operations, eg. to cancel a
> read after a timeout has occured.
> 
> I tried setting the SO_RCVTIMEO socket option but nothing happens.
> 
> The use of the select function gives me linker errors with 'undefined
> reference'
> 
> Has anyone a suggestion how to solve this?
> 

Socket timeouts and select have been part of the RTEMS snapshots  for
quite a while now.  The soon-to-be-released 4.1 will include them.

-- 
Eric Norum                                 eric at cls.usask.ca
Canadian Light Source                      Phone: (306) 966-6308
University of Saskatchewan                 FAX:   (306) 966-6058
Saskatoon, Canada.



More information about the users mailing list