[Development] QTcpSocket, QLocalSocket, common-use-model?

Konstantin Tokarev annulen at yandex.ru
Tue Oct 9 17:36:19 CEST 2012



09.10.2012, 01:23, "Charley Bay" <charleyb123 at gmail.com>:
> Does the "MyLocalSocketOrTcpSocket" class seem stupid, or should I
> just use "QTcpSocket" all the time?

You can create your socket-enabled class as template taking either
QTcpSocket or QLocalSocket, since APIs are mostly the same.

-- 
Regards,
Konstantin



More information about the Development mailing list