Test sendall().
This commit is contained in:
parent
b2c763fed2
commit
cb65688218
@ -124,7 +124,7 @@ try:
|
|||||||
break
|
break
|
||||||
if verbose:
|
if verbose:
|
||||||
print 'received:', data
|
print 'received:', data
|
||||||
conn.send(data)
|
conn.sendall(data)
|
||||||
conn.close()
|
conn.close()
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user