// VirtualServerSocket, and get the bind port of the local actual socket
// to which the VirtualServerSocket is connected.
MasterServerSocket mss = new MasterServerSocket(bindPort + 1);
os_sync.write(3);
mss.setSoTimeout(5000);
int port = mss.acceptServerSocketConnection();
mss.close();
// Wait until remote VirtualServerSocket is running, then create local
// VirtualServerSocket, bind it to the local port to which the remote
// VirtualServerSocket is connected, and connect it to the remote