QML 웹소켓 서버
QML WebSocketServer 을 사용하는 방법을 보여주는 간단한 예제입니다.
이 예제에서는 창을 열고 들어오는 연결을 수신 대기하는 WebSocketServer 와 WebSocketServer 에 연결하는 WebSocket이 있습니다. 창을 클릭할 때마다 WebSocket은 WebSocketServer 에 메시지를 보냅니다. WebSocketServer 에는 들어오는 메시지를 창에 기록하고 다시 메시지를 보내는 시그널 핸들러가 있고, WebSocket에는 반환된 메시지를 창에 기록하는 시그널 핸들러가 있습니다.
© 2025 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.