MCPcopy
hub / github.com/jtesta/ssh-audit / socket

Method socket

test/conftest.py:43–48  ·  view source on GitHub ↗
(self,
               family=socket.AF_INET,
               socktype=socket.SOCK_STREAM,
               proto=0,
               fileno=None)

Source from the content-addressed store, hash-verified

41
42 # pylint: disable=unused-argument
43 def socket(self,
44 family=socket.AF_INET,
45 socktype=socket.SOCK_STREAM,
46 proto=0,
47 fileno=None):
48 return self.vsocket
49
50 def getaddrinfo(self, host, port, family=0, socktype=0, proto=0, flags=0):
51 key = '{}#{}'.format(host, port)

Callers 4

_dh_rate_testMethod · 0.80
_worker_processMethod · 0.80
listen_and_acceptMethod · 0.80
connectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected