doBind(serverSocket, null, new InetSocketAddress(clientServerSocketHost, nextBindPort));
log.info("connecting server socket to port: " + ++nextConnectPort);
InetSocketAddress address1 = new InetSocketAddress(basicBehaviorServerHost, nextConnectPort);
is = testSocket.getInputStream();
is.read();
serverSocket.connect(address1);
log.info("server socket is connected");
os = testSocket.getOutputStream();
os.write(5);
is.read();
int port = serverSocket.getRemotePort();