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 로 들어오는 연결을 수신 대기할 때 사용할 소켓 설명자를 설정합니다.
소켓이 성공적으로 설정되면 참을 반환하고, 그렇지 않으면 거짓을 반환합니다. 소켓은 수신 대기 상태인 것으로 가정합니다.
nativeDescriptor(), setSocketDescriptor() 및 isListening()도 참조하세요 .
© 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.