Hello, allThe socket object has a `sendall` method that can send all bytes you specified. Oppositely, socket only has a recv method. I wonder why there is not a `recvall` method? To workaround this, I use `f = socket.makefile('rb')`, then `call f.read(n)` Thanks. -- https://mail.python.org/mailman/listinfo/python-list
- New to Python and understanding problem Michelle Konzack
- Re: New to Python and understanding problem Dan Stromberg
- Re: New to Python and understanding problem Michelle Konzack
- Re: New to Python and understanding problem Peter J. Holzer
- Re: New to Python and understanding prob... Michelle Konzack
- Why not have a recvall method? 陶青云
- Re: Why not have a recvall meth... Steven D'Aprano
- Re: New to Python and understanding problem MRAB
- Re: New to Python and understanding problem Peter Otten
- Re: New to Python and understanding problem careenjoseph36
- Re: New to Python and understanding problem Michelle Konzack