MCPcopy Create free account
hub / github.com/RustPython/RustPython / bindSock

Method bindSock

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

Source from the content-addressed store, hash-verified

797 self.port = self.serv_addr[1]
798
799 def bindSock(self, sock):
800 socket_helper.bind_port(sock, host=self.host)
801
802class TCPTestBase(InetTestBase):
803 """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