else if (scfg.getReceiveBufferSize() > MAX_RCVBUF)
{
scfg.setReceiveBufferSize(MAX_RCVBUF);
}
connector.setWorkerTimeout(0);
ConnectFuture cf = connector.connect(address, handler);
cf.join();
IoSession ssn = cf.getSession();
// We need to synchronize and wait here because the MINA
// connect future returns the session prior to the attachment