웹소켓 에코 서버
간단한 웹소켓 서버 애플리케이션을 작성하는 방법을 보여드립니다.
이 에코 서버는 WebSocket API를 사용하여 수신한 메시지에 대한 응답으로 답장을 보내는 간단한 서버 애플리케이션을 만드는 방법을 보여줍니다. 설명을 위해 회신은 단순히 메시지의 복사본입니다.
웹 브라우저에서 WebSocket을 지원하는 경우에는 echoserver/echoclient.html
{echoclient.html} 파일을 열고 다음 스크린샷과 같이 작동할 수도 있습니다:
그렇지 않으면 웹소켓 에코 클라이언트를 사용하여 서버에 연결합니다.
웹소켓 에코 클라이언트도참조하세요 .
© 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.