On Fri, Jul 25, 2008 at 2:40 AM, Roger Pack <
roger.pack at leadmediapartners.com> wrote:
> K I made some progress on revem [checked in as contrib/revem2].
> Actually runs the echo server, and does timeouts.
Awesome
> The current barrier seems to be if I do a write on a Rev::TCPSocket
> before it has connected to the other host [DNS might cause a similar
> error--this example was just using IP addresses]. I believe
that''s
> what''s happening.
> Any thoughts?
>
You might try buffering data in a string until the connection completes or
errors. Otherwise I can look at making write work in this case.
--
Tony Arcieri
medioh.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/rev-talk/attachments/20080725/0380376a/attachment.html>