[Interest] Simple UDP listener question

Robert Wood robert.wood at apostrophe.co.uk
Tue Jun 24 00:27:58 CEST 2014


It can't be a randomly allocated port though, it has to be port 6454.

On 23/06/14 20:33, Thiago Macieira wrote:
> Em seg 23 jun 2014, às 19:50:44, Robert Wood escreveu:
>> 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.
>
> writeDatagram automatically binds for you. It should be enough to send a
> datagram from a randomly allocated port.
>



More information about the Interest mailing list