Obsolete Members for QWebSocketServer
QWebSocketServer 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것이 좋습니다.
공개 함수
(deprecated) qintptr | nativeDescriptor() const |
(deprecated) bool | setNativeDescriptor(qintptr socketDescriptor) |
멤버 함수 설명
[deprecated] qintptr QWebSocketServer::nativeDescriptor() const
이 함수는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.
서버가 들어오는 명령을 수신 대기하는 데 사용하는 네이티브 소켓 디스크립터를 반환하며, 서버가 수신 대기 중이 아닌 경우 -1을 반환합니다. 서버가 QNetworkProxy 를 사용하는 경우, 반환된 디스크립터는 네이티브 소켓 함수와 함께 사용할 수 없을 수도 있습니다.
setNativeDescriptor(), socketDescriptor(), isListening()도 참조하십시오 .
[deprecated] bool QWebSocketServer::setNativeDescriptor(qintptr socketDescriptor)
이 함수는 더 이상 권장되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.
이 서버가 socketDescriptor 으로 들어오는 연결을 수신 대기할 때 사용할 소켓 디스크립터를 설정합니다.
소켓이 성공적으로 설정되면 true를 반환하고, 그렇지 않으면 false를 반환합니다. 소켓은 수신 대기 상태에 있는 것으로 간주됩니다.
nativeDescriptor(), setSocketDescriptor(), isListening()도 참조하십시오 .
© 2026 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.