[Interest] QUdpSocket

Igor Mironchik igor.mironchik at gmail.com
Tue Feb 27 19:47:12 CET 2018


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.
>




More information about the Interest mailing list