*/
public Tcp2Connection( URL uri, Resources resources )
{
selector = (SuperSelector) resources.get( "selector" );
bufferPool = (ByteBufferPool) resources.get( "bufferPool" );
options = new TcpOptions( uri, resources );
connection = (SocketChannel) resources.remove( "connection" );
if (connection == null)
{