Hi. What I afraid that happened.

Is situation possible that QUdpSocket in bound state can be somehow disconnected (not from app's code) for any reason? I.e. something wrong on the network, UDP socket can't work properly, something wrong in the OS that leads to that UDP socket will not receive any datagrams? I ask for regular situations that I need to check in my application...


On 27.02.2018 18:26, Thiago Macieira wrote:
On terça-feira, 27 de fevereiro de 2018 01:40:11 PST Igor Mironchik wrote:
Hello,

Could anybody tell me if QUdpSocket after

QUdpSocket::bind( somePort, QUdpSocket::ShareAddress );

can be closed for some reasons and stopped for receiving new datagrams
(not from the application side, not from my code...)?
Do you mean "can I call close() after bind()?"

Yes.

What can be the reason of such behavior (disconnection of bound QUdpSocket)?
What behaviour?

P.S. Hope I'm clear in my question.
Not really.


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to