def _client_parse_args(args):
    """Parse arguments for a TCP client."""
    nworkers = args.nworkers or 4
    ip, port, authkey = args.server
    libE_specs = {'ip': ip, 'port': int(port), 'authkey': authkey.encode(
        'utf-8'), 'workerID': args.workerID, 'nworkers': nworkers, 'comms':
        'tcp'}
    return nworkers, False, libE_specs, args.tester_args
