MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / connect_dst

Function connect_dst

sshuttle/ssnet.py:582–588  ·  view source on GitHub ↗
(family, ip, port)

Source from the content-addressed store, hash-verified

580
581
582def connect_dst(family, ip, port):
583 debug2('Connecting to %s:%d' % (ip, port))
584 outsock = socket.socket(family)
585
586 return SockWrapper(outsock, outsock,
587 connect_to=(ip, port),
588 peername='%s:%d' % (ip, port))
589
590
591def runonce(handlers, mux):

Callers

nothing calls this directly

Calls 2

debug2Function · 0.90
SockWrapperClass · 0.85

Tested by

no test coverage detected