Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36344

what’s the difference between socket.send() and socket.sendall() ?

From "iMath" <2281570025@qq.com>
Subject what’s the difference between socket.send() and socket.sendall() ?
Date 2013-01-07 18:35 +0800
Newsgroups comp.lang.python
Message-ID <mailman.216.1357558243.2939.python-list@python.org> (permalink)

Show all headers | View raw


<p class="MsoNormal"><tt><span lang="EN-US" style="font-size: 12pt; color: white; background-color: rgb(68, 110, 248); background-position: initial initial; background-repeat: initial initial; ">what’s the difference between socket</span></tt><tt><span lang="EN-US" style="font-size: 12pt; ">.send() and&nbsp;<span style="color: white; background-color: rgb(68, 110, 248); background-position: initial initial; background-repeat: initial initial; ">socket</span>.sendall() ?</span></tt>
</p>

<p class="MsoNormal"><tt><span lang="EN-US" style="font-size:12.0pt">It is so hard
for me to tell the <span style="color:white;background:#446EF8">difference
between them from the python doc<o:p></o:p></span></span></tt></p>

<p class="MsoNormal"><tt><span lang="EN-US" style="font-size:12.0pt;color:white;
background:#446EF8">so what is the difference between them ?<o:p></o:p></span></tt></p>

<p class="MsoNormal"><tt><span lang="EN-US" style="font-size:12.0pt;color:white;
background:#446EF8">and each one is suitable for which case ?<o:p></o:p></span></tt></p>

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

what’s the difference between socket.send() and socket.sendall() ? "iMath" <2281570025@qq.com> - 2013-01-07 18:35 +0800
  Re: what’s the difference between socket.send() and socket.sendall() ? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-01-07 14:17 +0100
  Re: what’s the difference between socket.send() and socket.sendall() ? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-07 15:28 +0000
    Re: what’s the difference between socket.send() and socket.sendall() ? Chris Angelico <rosuav@gmail.com> - 2013-01-08 02:54 +1100

csiph-web