[Qt-interest] QSslSocket and xinetd

Stephen Collyer scollyer at netspinner.co.uk
Fri May 8 15:55:24 CEST 2009


Have you tried running the app. under strace or equivalent ? It may
give you some idea as to the point at which things fail.

2009/5/8 Mathias Waack <Mathias.Waack at rantzau.de>

> Hi all,
>
> I'm trying to wrap an existing server communicating through xinetd with a
> QSslSocket. Basically I'm simply setting the descriptor:
>
> int socketDescriptor = STDIN_FILENO;
> socket = new QSslSocket(this);
>
> socket->setSocketDescriptor(socketDescriptor,QAbstractSocket::ConnectedState);
>
> The ssl-handshake completes without problems, but after a few bytes send or
> received the connection terminates issuing the error signal
> QAbstractSocket::UnknownSocketError.
>

-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090508/17b69889/attachment.html 


More information about the Qt-interest-old mailing list