try {
jmdns.registerService(pairservice);
} catch (IOException e) {
e.printStackTrace();
}
myServer = new Server(myParent, port);
Date d2 = new Date();
if (DEBUG) System.out.println("Started in " + (d2.getTime() - d1.getTime())/1000 + " seconds.");
}