try
{
// create a MasterServerSocket and get a VirtualSocket
ServerSocket serverSocket = new MasterServerSocket(5555);
serverSocket.setSoTimeout(10000);
Socket v2 = serverSocket.accept();
// do some asynchronous communication in a separate thread
Thread asynchronousThread = new AsynchronousThread(v2);
asynchronousThread.start();