[Interest] Setting socket options for QWebSocketServer

Thiago Macieira thiago.macieira at intel.com
Fri May 13 19:41:18 CEST 2016


On sexta-feira, 13 de maio de 2016 18:42:16 PDT Elvis Stansvik wrote:
> Hi all,
> 
> I'm looking for a way to control the socket options used for the listening
> socket of a QWebSocketServer.
> 
> Is there really no way of doing this short of setting up a native socket
> myself and passing it to setSocketDescriptor? The option I wish to set is
> SO_REUSEADDR in UNIX terms, so I want the equivalent of
> QAbstractSocket::ReuseAddressHint but for QWebSocketServer.

You can't reuseaddr with TCP.

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




More information about the Interest mailing list