if ( header.isClient() )
{
// ok, get the control bits as well as the adapter name in a
// ByteChannel
ByteBuffer tmpBuf = header.toByteBuffer();
magicBuf = ByteBufferAllocator.allocate( tmpBuf.remaining() + 4, false );
magicBuf.putInt( EJConstants.EJOE_MAGIC_NUMBER );
magicBuf.put( tmpBuf );
magicBuf.flip();
logger.log( Level.FINEST, "Sending Clientheader: " + header );
semiBlockingWrite( channel, magicBuf, timeout );