On quarta-feira, 10 de outubro de 2012 11.03.21, Kevin Krammer wrote:
> Not related to performance, but often the main reason to use techniques
> such  as QLocalSocket is better access control.
> Any process (running as any user) on the machine can attempt a connect to a 
> TCP socket on the loopbar device, while e.g. Unix domain sockets can be
> created such that only processes of the same user can attempt connections.

True. What's more, you can use SO_PEERCRED and file-descriptor passing on Unix 
sockets, but you can't on TCP sockets.

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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to