It's just a pipe on the input stream, see nsImapProtocol::SetupWithUrl. We create a transport on the io socket:
rv = socketService->CreateTransport(&connectionType, connectionType != nsnull, *socketHost, socketPort, proxyInfo, getter_AddRefs(m_transport));
and then we open an input stream on that transport:
rv = m_transport->OpenInputStream(nsITransport::OPEN_BLOCKING, 0, 0, getter_AddRefs(m_inputStream));
It's just a pipe on the input stream, see nsImapProtocol: :SetupWithUrl. We create a transport on the io socket: >CreateTranspor t(&connectionTy pe, connectionType != nsnull,
*socketHost, socketPort, proxyInfo,
getter_ AddRefs( m_transport) );
rv = socketService-
and then we open an input stream on that transport: >OpenInputStrea m(nsITransport: :OPEN_BLOCKING, 0, 0, getter_ AddRefs( m_inputStream) );
rv = m_transport-