[racket] Read timeouts on tcp ports?...

From: Rüdiger Asche (rac at ruediger-asche.de)
Date: Thu May 31 06:28:45 EDT 2012

Hi there everybody,

I'm not sure if this hasn't been discussed before (at least didn't  
find any reference in google), so apologies if this should be a dupe:

How do I set a read timeout on a port (in this case, a TCP port)? In  
native socket API, it's done via setsockopt() but the socket option  
set is naturally shielded from application programmers. I couldn't  
find a hint about timeouting read in the documentation for file I/O  
which the port concept is a part of.


Posted on the users mailing list.