[Interest] Simple UDP listener question

Robert Wood robert.wood at apostrophe.co.uk
Mon Jun 23 20:50:44 CEST 2014


Sorry, I meant to write there does *not( seem to be a sendTo() function.

Writing out with writeDatagram() works just fine as long as I bind 
first; it's the receiving part that just will not work, even if I 
faithfully follow the example. I must be missing a fundamental aspect of 
this somewhere, but I just can't see what.

On 23/06/14 19:37, Thiago Macieira wrote:
> Em seg 23 jun 2014, às 19:21:21, Robert Wood escreveu:
>> There does seem to be a sendTo() function within the class. If I don't
>> bind it and use writeDatagram it doesn't send anything out.
>
> writeDatagram() takes a destination address and port. If that doesn't work,
> please provide a testcase.
>
> Unfortunately, UDP is quite brittle.
>



More information about the Interest mailing list