[Interest] Simple UDP listener question

Thiago Macieira thiago.macieira at intel.com
Mon Jun 23 21:33:55 CEST 2014


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.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list