MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / state_proxy_addr_2_2

Method state_proxy_addr_2_2

src/network/socks5.py:108–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 return True
107
108 def state_proxy_addr_2_2(self):
109 self.boundaddr = self.read_buf[0:self.address_length]
110 self.set_state("proxy_port", length=self.address_length, expectBytes=2)
111 return True
112
113 def state_proxy_port(self):
114 self.boundport = struct.unpack(">H", self.read_buf[0:2])[0]

Callers

nothing calls this directly

Calls 1

set_stateMethod · 0.80

Tested by

no test coverage detected