Important: Please read the Qt Code of Conduct -

Question about Network Examples/Network Chat Example

  • hi everyone, I ‘m beginning with Qt.
    in the demo of the client.cpp file. The signal of peerManager connects the slot newConnection() using the QUdpSocket, and the next line the signal of server connects to slot newConnection() using QTcpSockt i guess. SO when the application works which socket it uses? QTcpSocket or QUdpSocket?
    thanks in advance

  • Please read description of this code in Qt Documentation.

Log in to reply