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.
On 23/06/14 19:04, m...@rpzdesign.com wrote: > Maybe you should only use 1 socket instead of 2. > > UDP only needs to bind to receive, but can send without binding as long > as you use sendto( ) calls. > > On 6/23/2014 1:45 PM, Ian Monroe wrote: >> On Mon, Jun 23, 2014 at 10:41 AM, Robert Wood >> <robert.w...@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 >> _______________________________________________ >> Interest mailing list >> Interest@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest >> > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest