QLocalSocket on Unix
-
wrote on 25 Dec 2011, 15:35 last edited by
How can I use QLocalSocket with DGRAM type ?
-
wrote on 25 Dec 2011, 16:24 last edited by
https://bugreports.qt.nokia.com/browse/QTBUG-13570 suggests it's not available. QLocalSocket is meant to provide the same behavior cross-platform. This is not (easily) possible with DGRAM.
Why would you need DRAM on local sockets anyway?
-
wrote on 25 Dec 2011, 16:25 last edited by
Isnt DGRAM more lightweight ?
-
wrote on 25 Dec 2011, 16:54 last edited by
Not that I am aware of. I did some research out of curiosity, and according to http://www.thomasstover.com/uds.html there is no real benefit for DGRAM on Unix Domain Sockets (as opposed to TCP and UDP obviously). If you still want to send only some (very) small datagrams, or have some special design scenarios (read the link for an example), you will have to resort to using the native socket API for the time being.
[EDIT: fixed link, Volker]
-
wrote on 25 Dec 2011, 16:57 last edited by
Cant you please send me again the link (it seems to be broken) ?
Thanks -
wrote on 25 Dec 2011, 16:58 last edited by
http://www.thomasstover.com/uds.html (devnet seems to include the ',' in the link).
1/6