MCPcopy Index your code
hub / github.com/RustPython/RustPython / bindClient

Method bindClient

Lib/test/test_socket.py:723–726  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

721 return self.newSocket()
722
723 def bindClient(self):
724 """Bind client socket and set self.cli_addr to its address."""
725 self.bindSock(self.cli)
726 self.cli_addr = self.cli.getsockname()
727
728 def clientTearDown(self):
729 self.cli.close()

Callers 1

clientSetUpMethod · 0.95

Calls 2

bindSockMethod · 0.45
getsocknameMethod · 0.45

Tested by

no test coverage detected