Results of 1 - 2 of about 2 for ssock (0.005 sec.)
- ssl --- ソケットオブジェクト用の TLS/SSL ラッパー — Python 3.14.8 ドキュメント 9357
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » ssl --- ソケットオブジェクト用の TLS/SSL ラッパー テーマ 自動 ライト ダーク | ssl --- ソケットオ
...ostname = 'www.python.org' context = ssl . create_default_context () with socket . create_connection (( hostname , 443 )) as sock : with context . wrap_socket ( sock , server_hostname = hostname ) as ssock : print ( ssock . version ()) Client socket e...t . load_verify_locations ( 'path/to/cabundle.pem' ) with socket . socket ( socket . AF_INET , socket . SOCK_STREAM , 0 ) as sock : with context . wrap_socket ( sock , server_hostname = hostname ) as ssock : print ( ssock . version ()) Server socket e...'/path/to/certchain.pem' , '/path/to/private.key' ) with socket . socket ( socket . AF_INET , socket . SOCK_STREAM , 0 ) as sock : sock . bind (( '127.0.0.1' , 8443 )) sock . listen ( 5 ) with context . wrap_socket ( sock , server_side = True ) as ss... - https://man.mtool.work/python/3.14/library/ssl.html
- ssl --- ソケットオブジェクト用の TLS/SSL ラッパー — Python 3.14.8 ドキュメント 9357
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ネットワーク通信とプロセス間通信 » ssl --- ソケットオブジェクト用の TLS/SSL ラッパー テーマ 自動 ライト ダーク | ssl --- ソケットオ
...ostname = 'www.python.org' context = ssl . create_default_context () with socket . create_connection (( hostname , 443 )) as sock : with context . wrap_socket ( sock , server_hostname = hostname ) as ssock : print ( ssock . version ()) Client socket e...t . load_verify_locations ( 'path/to/cabundle.pem' ) with socket . socket ( socket . AF_INET , socket . SOCK_STREAM , 0 ) as sock : with context . wrap_socket ( sock , server_hostname = hostname ) as ssock : print ( ssock . version ()) Server socket e...'/path/to/certchain.pem' , '/path/to/private.key' ) with socket . socket ( socket . AF_INET , socket . SOCK_STREAM , 0 ) as sock : sock . bind (( '127.0.0.1' , 8443 )) sock . listen ( 5 ) with context . wrap_socket ( sock , server_side = True ) as ss... - https://man.mtool.work/python/3.14/library/ssl.html
PREV
1
NEXT