i would like to use winsock functions (and not QTcpSocket or QUdpSocket) in my class. But my class inherits QObject, so connect() from QObject is in conflict with connect() from winsock2.h
How could i bypass this conflict, i’m searching for “Winsock2::connect()” or something like that, but i can’t find. Thanks
i would like to use winsock functions (and not QTcpSocket or QUdpSocket) in my
Share
Try with
::connect(for the winsock connect) andthis->connectorQObject::connectfor Qt’s connect().