Receive data from socket stream

Jean-Paul Calderone exarkun at divmod.com
Mon Apr 28 12:00:26 EDT 2008


On Mon, 28 Apr 2008 07:26:13 -0700 (PDT), s0suk3 at gmail.com wrote:
> [snip]
>
>
>BTW, has anybody used sockets as file-like objects
>(client.makefile())? Is it more secure? More efficient?

It's not more (or less) secure.  In certain cases, it's significantly less
efficient.  It's for simplicity of programming, not much else.

Jean-Paul



More information about the Python-list mailing list