[Qt-interest] Auto detection of QLocalServer/QTcpServer

Jason H scorp1us at yahoo.com
Mon Jun 6 18:33:32 CEST 2011


I'm not sure I understand, your OS should short this out for you. It sounds like you still want external clients, just to use the local  interface when its a local connection?

If it doesn't it is because you are binding to a specific interface, rather than Any. I'd only use QLocalServer when I know I don't want external clients. 



________________________________
From: NoRulez <norulez at me.com>
To: qt-interest at qt.nokia.com
Sent: Monday, June 6, 2011 11:39 AM
Subject: [Qt-interest] Auto detection of QLocalServer/QTcpServer


Hi,
 
if the server app has the same ip address and running on the same host as the client I want that the server uses QLocalServer instead of QTcpServer.
Is there a simple way of doing so, because QTcpServer and QLocalServer don’t inherit from a class such as QAbstractServer.
 
Thanks in advance
 
Best Regards
NoRulez
 
 
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110606/c2c8d189/attachment.html 


More information about the Qt-interest-old mailing list