On sexta-feira, 3 de maio de 2013 10.25.57, Abhishek wrote:
> Hello,
> I am writing a Tcp client program, which ping server every 3 sec.
> the general behaviour is  :
> 1) client connects to server
> 2) send a identification packet
> 3) server checks the packet and reply accordingly
> *4) server ends the connection. (not client) *
> 
> so I get a error QAbstractSocket::error(QAbstractSocket::SocketError)
> = RemoteHostClosedError
> 
> (I guess its because server ends the connection)
> 
> but when I get this error the QAbstractSocket::disconnected() signal is
> emited
> but this is not emitted for other types of error which is confusing me.

What other errors?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to