[Qt-interest] Auto detection of QLocalServer/QTcpServer

Thiago Macieira thiago at kde.org
Mon Jun 6 18:45:07 CEST 2011


On Monday, 6 de June de 2011 17:39:28 NoRulez wrote:
> 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.

You need to write your own code to do the abstraction.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110606/3b24a294/attachment.bin 


More information about the Qt-interest-old mailing list