(self)
sends a SOCKS version reply
sends a SOCKS version reply
sends a SOCKS version reply
def _send_version(self):
        "sends a SOCKS version reply"
        self._data_to_send(
            # for anonymous(0) *and* authenticated (2): struct.pack('BBBB', 5, 2, 0, 2)
            struct.pack('BBB', 5, 1, 0)
        )
def _send_version ( self ) : self . _data_to_send ( # for anonymous(0) *and* authenticated (2): struct.pack('BBBB', 5, 2, 0, 2) struct . pack ( 'BBB' , 5 , 1 , 0 ) )