[Interest] Simple UDP listener question

Ian Monroe ian at monroe.nu
Mon Jun 23 19:45:46 CEST 2014


On Mon, Jun 23, 2014 at 10:41 AM, Robert Wood
<robert.wood at apostrophe.co.uk> wrote:
> The QHostAddress("192.168.0.18") should be the IP address of my computer
> shouldn't it? I'm not really clear why this is necessary as I would
> assume Qt would automatically pick that up? Or is it in case you  have
> more than one NIC and you are telling the program which one to listen
> on/send from?

You could bind to 0.0.0.0 instead I think.

Ian



More information about the Interest mailing list