[REBOL] Re: UDP Multicast to TCP
From: santilli:gabriele:g:mail at: 18-Nov-2009 11:49
On Wed, Nov 18, 2009 at 11:42 AM, Petr Krenzelok
<petr.krenzelok-seznam.cz> wrote:
> I hope I am not wrong here, but you should know, that in R2, you
> basically can work in two modes - blocking (synchronous), and non
> blocking. When you open your port without /no-wait refinement, then
> 'copy action on port blocks. It is your case, as you issue "copy
> multicast", where multicast is opened in blocking mode. In this mode,
> copy waits for other side to close the connection. That might be the
> reason why your code "halts". Try simple example:
Mmm, Petr, actually, he's only copying on the UDP port after a wait,
so I don't think this would be a problem. Besides, it seems to me that
/no-wait does not work on UDP listen ports...
> Console1:
> ---------
> server: open tcp://:9005
Your assumption that UDP behaves just like TCP is so very wrong. ;)
Regards,
Gabriele.