|qmake:||QT += serialbus|
This class was introduced in Qt 5.13.
|virtual bool||acceptNewConnection(QTcpSocket *newClient) = 0|
The interface must be implemented by the developer to be able to monitor every incoming TCP connection from another Modbus client.
Member Function Documentation
This function is a callback for every incoming TCP connection. The user should provide newClient to receive a notification when a new client connection is established and to determine whether the connection is to be accepted.
The function should return
true if the connection is to be accepted. Otherwise, the socket is closed/rejected.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.