[racket-dev] Implementation question

From: nicolas carraggi (nicocarraggi at hotmail.com)
Date: Thu Apr 17 12:48:53 EDT 2014

I am actually using "Racket/tcp" for a project in Racket.I'm creating a peer-to-peer network but now I encountered a small problem.For a multicast I want to connect with each server on the same network. For this I use "tcp-connect", but when i try to connect to an ip address which is not hosting a server, throwing the error only happens after more than 1 minute. So I would like to use a modified "tcp-connect" with a smaller time-out.
Where can I find the implementation of "tcp-connect"?
I already found "tcp.rkt" but there it gets the "tcp-connect" method from "'#%network" but I can't find this one...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20140417/b27338b7/attachment.html>

Posted on the dev mailing list.