try {
String[] data = localMatchingServer.trim().split(":");
if (data.length == 2) {
String host = data[0];
int port = Integer.parseInt(data[1]);
localMatching = new Client(host, port, (long)audioLatency.getLatency());
}
} catch (Exception ex) {
ex.printStackTrace();
}