MCPcopy Create free account
hub / github.com/ActiveState/code / sendall

Method sendall

recipes/Python/572159_SPICE/recipe-572159.py:218–221  ·  view source on GitHub ↗

Encrypt and send all on socket.

(self, string, flags=0)

Source from the content-addressed store, hash-verified

216 return sent / 4
217
218 def sendall(self, string, flags=0):
219 'Encrypt and send all on socket.'
220 string = _encode(string, self.__em1, self.__em2)
221 return self.__socket.sendall(string, flags)
222
223 def sendto(self, string, address, flags=0):
224 'Encrypt and send datagram on socket.'

Callers 13

writeMethod · 0.95
recipe-388041.pyFile · 0.45
runMethod · 0.45
test_dual_stackMethod · 0.45
test_mlistenerMethod · 0.45
handle_writeMethod · 0.45
runMethod · 0.45
__serveMethod · 0.45
runMethod · 0.45
get_proxyMethod · 0.45
recipe-301740.pyFile · 0.45

Calls 1

_encodeFunction · 0.70

Tested by 3

test_dual_stackMethod · 0.36
test_mlistenerMethod · 0.36