[Interest] Simple UDP listener question

Robert Wood robert.wood at apostrophe.co.uk
Tue Jun 24 13:02:57 CEST 2014


Hi Rainer,

It says this:

udp        0      0 0.0.0.0:6454                0.0.0.0:*

If I stop my app, that disappears, if I change it to listen on 
192.168.0.18 by changing this line:

udpSocRec->bind(QHostAddress("192.168.0.18"), 6454);

I get this:

udp        0      0 192.168.0.18:6454           0.0.0.0:*

So, I assume that means it's setting up the port OK. I can only assume I 
am missing out one vital step that isn't specified in the examples.

Thanks,

Rob

On 24/06/14 11:12, Rainer Wiesenfarth wrote:
> What does "netstat -an" say when your UDP listener is running? You
> should find your app as "UDP 0.0.0.0:6454" for IPv4 and/or as "UDP
> [::]:6454" for IPv6.



More information about the Interest mailing list