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

Elvis Stansvik elvstone at gmail.com
Fri May 13 18:45:13 CEST 2016


Den 13 maj 2016 5:58 em skrev "Thiago Macieira" <thiago.macieira at intel.com>:
>
> 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.

Alright, although, since I sent my last mail I've realized I'm better off
with a WebSocket actually. But I might try anyway as an exercise.

Thanks,
Elvis

>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160513/a2852976/attachment.html>


More information about the Interest mailing list