def socket_bind(socketPort):
    socks_port = int(socketPort)
    server = ThreadingTCPServer(('', socks_port), Socks5Server)
    print 'Socks5 proxy bind port : %d' % socks_port + ' ok!'
    server.serve_forever()
dataset/ETHPy150Open RicterZ/reprocks/client/reprocks_client.py/socket_bind/original