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

Method bindClient

Lib/test/test_socket.py:734–737  ·  view source on GitHub ↗

Bind client socket and set self.cli_addr to its address.

(self)

Source from the content-addressed store, hash-verified

732 return self.newSocket()
733
734 def bindClient(self):
735 """Bind client socket and set self.cli_addr to its address."""
736 self.bindSock(self.cli)
737 self.cli_addr = self.cli.getsockname()
738
739 def clientTearDown(self):
740 self.cli.close()

Callers 1

clientSetUpMethod · 0.95

Calls 2

bindSockMethod · 0.45
getsocknameMethod · 0.45

Tested by

no test coverage detected