Results of 1 - 2 of about 2 for totalsent (0.001 sec.)
- ソケットプログラミング HOWTO — Python 3.14.8 ドキュメント 11228
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » ソケットプログラミング HOWTO テーマ 自動 ライト ダーク | ソケットプログラミング HOWTO ¶ Author : Gordon McMillan 概要 ソケットはそこかしこで使われ
...self . sock = sock def connect ( self , host , port ): self . sock . connect (( host , port )) def mysend ( self , msg ): totalsent = 0 while totalsent < MSGLEN : sent = self . sock . send ( msg [ totalsent :]) if sent == 0 : raise RuntimeError ( "socket...connection broken" ) totalsent = totalsent + sent def myreceive ( self ): chunks = [] bytes_recd = 0 while bytes_recd < MSGLEN : chunk = self . sock . re...サーバ 接続 メッセージ self send sock bytes connect 要求 clientsocket 受信 shutdown バッファ バイト port 返答 bind host 会話 totalsent recd 目次 ソケットプログラミング HOWTO ソケット 歴史 ソケットの作成 IPC ソケットの利用 バイナリデータ 切断 ソケットが死ぬと... - https://man.mtool.work/python/3.14/howto/sockets.html
- ソケットプログラミング HOWTO — Python 3.14.8 ドキュメント 7485
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » ソケットプログラミング HOWTO テーマ 自動 ライト ダーク | ソケットプログラミング HOWTO ¶ Author : Gordon McMillan 概要 ソケットはそこかしこで使われ
...self . sock = sock def connect ( self , host , port ): self . sock . connect (( host , port )) def mysend ( self , msg ): totalsent = 0 while totalsent < MSGLEN : sent = self . sock . send ( msg [ totalsent :]) if sent == 0 : raise RuntimeError ( "socket...connection broken" ) totalsent = totalsent + sent def myreceive ( self ): chunks = [] bytes_recd = 0 while bytes_recd < MSGLEN : chunk = self . sock . re... - https://man.mtool.work/python/3.14/howto/sockets.html
PREV
1
NEXT