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

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


Hi,

Like the subject says, is there no class in Qt which will give me a
local datagram-oriented socket (e.g. AF_UNIX + SOCK_DGRAM on UNIX
systems)? I guess this is because it's not possible to make a
cross-platform abstraction for it?

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?

Elvis



More information about the Interest mailing list