Obsolete Members for QWebSocketServer

クラスQWebSocketServer の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。

パブリック関数

(deprecated) qintptr nativeDescriptor() const
(deprecated) bool setNativeDescriptor(qintptr socketDescriptor)

メンバ関数ドキュメント

[deprecated] qintptr QWebSocketServer::nativeDescriptor() const

この関数は非推奨である。新しいコードでは使用しないことを強く推奨する。

サーバが着信命令をリッスンするために使用するネイティブソケットディスクリプタを返す。サーバがQNetworkProxy を使用している場合、返されたディスクリプタはネイティブソケット関数で使用できないかもしれない。

setNativeDescriptor(),socketDescriptor(),isListening()も参照のこと

[deprecated] bool QWebSocketServer::setNativeDescriptor(qintptr socketDescriptor)

この関数は非推奨である。新しいコードでは使用しないことを強く推奨する。

このサーバがsocketDescriptor への着信接続をリスンする際に使用するソケットディスクリプタを設定する。

ソケットの設定に成功した場合は true を返し、失敗した場合は false を返す。ソケットはリッスン中であると仮定される。

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.