def send(self, message, silent_connection_break=False):
"""Send via self.socket, encoded/delimited as way recv() expects.
- In detail, all \ and $ in message are escaped with prefixed \,
+ In detail, all \\ and $ in message are escaped with prefixed \\,
and an unescaped $ is appended as a message delimiter. Then,
socket.send() is called as often as necessary to ensure
message is sent fully, as socket.send() due to buffering may
In detail, socket.recv() is looped over for sequences of bytes
that can be decoded as a Unicode string delimited by an
- unescaped $, with \ and $ escapable by \. If a sequence of
+ unescaped $, with \\ and $ escapable by \\. If a sequence of
characters that ends in an unescaped $ cannot be decoded as
Unicode, None is returned as its representation. Stop once
socket.recv() returns nothing.