[Interest] Datagram-oriented QLocalSocket (e.g. AF_UNIX / SOCK_DGRAM)?

Thiago Macieira thiago.macieira at intel.com
Fri May 13 17:58:28 CEST 2016


On sexta-feira, 13 de maio de 2016 13:32:32 PDT Elvis Stansvik wrote:
> Can I use QUdpSocket, but provide my own AF_UNIX / SOCK_DGRAM socket
> with setSocketDescriptor? Has anyone done this, something you could
> share? If so, any gotchas?

I don't think anyone has tried, but given that creating an AF_UNIX / 
SOCK_STREAM socket and giving it to QTcpSocket is exactly what QLocalSocket 
does, you may get away with it. Let us know how it goes.

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




More information about the Interest mailing list