for (int i = INST_START; i < args.length; i++) {
instruments[i - INST_START] = client.lookup(args[i]);
}
if (args[0].equals("TCP")) {
client.listenTCP(Integer.parseInt(args[1]), false);
} else if (args[0].equals("UDP")) {
client.listenUDP(Integer.parseInt(args[1]), false);
} else {
throw new RuntimeException("Bad protocol, expecting UDP or TCP");
}