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

Method bindSock

Lib/test/test_socket.py:810–811  ·  view source on GitHub ↗
(self, sock)

Source from the content-addressed store, hash-verified

808 self.port = self.serv_addr[1]
809
810 def bindSock(self, sock):
811 socket_helper.bind_port(sock, host=self.host)
812
813class TCPTestBase(InetTestBase):
814 """Base class for TCP-over-IPv4 tests."""

Callers 2

bindServerMethod · 0.45
bindClientMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected