MCPcopy Index your code
hub / github.com/python/cpython / sendToServer

Method sendToServer

Lib/test/test_socket.py:3295–3297  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

3293 super().setUp()
3294
3295 def sendToServer(self, msg):
3296 # Send msg to the server.
3297 return self.cli_sock.send(msg)
3298
3299 # Tuple of alternative default arguments for sendmsg() when called
3300 # via sendmsgToServer() (e.g. to include a destination address).

Callers 15

_testSendmsgBadArgsMethod · 0.45
_testSendmsgBadCmsgMethod · 0.45
_testRecvmsgMethod · 0.45
_testRecvmsgShorterMethod · 0.45
_testRecvmsgTruncMethod · 0.45
_testRecvmsgPeekMethod · 0.45
_testRecvmsgOverflowMethod · 0.45

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected