per page, with , order by , clip by
Results of 1 - 1 of about 1 for totalsent (0.002 sec.)
ソケットプログラミング HOWTO 9414
ソケットプログラミング 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