[Interest] QWebSocket/Server

Rainer Wiesenfarth rainer_wiesenfarth at trimble.com
Tue Sep 19 08:44:13 CEST 2017


On Tue, Sep 19, 2017 at 4:27 AM, Reinhardt Behm <rbehm at hushmail.com> wrote:

> I am using QWebSocket and QWebSocketServer (Qt5.5)
> Is it possible to have another Server (as HTTP server) listening at the
> same
> port?
>

​No, each port can be listened to only by one server. This is by design of
the underlying protocol (TCP, but also UDP).
​

> QWebSocket supports binaryFrameReceived(). Is there any support to send
> Frames?
>

​sendBinaryMessage()?​

QWebSocket has a signal bytesWritten(). Any support for receive progress?
>

​No, this is also not supported by the underlying protocol. You will
receive ​an error() signal if something went wrong.

If you need acknowledge messages, you have to add these to your own
protocol.

​Cheers, Rainer​

-- 
Software Engineer | Trimble Imaging Division
Rotebühlstraße 81 | 70178 Stuttgart | Germany
Office +49 711 22881 0 | Fax +49 711 22881 11
http://www.trimble.com/imaging/ | http://www.inpho.de/

Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim
Eingetragen beim Amtsgericht Darmstadt unter HRB 83893,
Geschäftsführer: Dr. Frank Heimberg, Jürgen Kesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170919/633198f9/attachment.html>


More information about the Interest mailing list