Annotation of libwww/Library/src/HTDemux.html, revision 2.4

2.1       frystyk     1: <HTML>
                      2: <HEAD>
2.2       frystyk     3:   <TITLE>W3C Sample Code Library Socket Reader Stream</TITLE>
2.1       frystyk     4: </HEAD>
                      5: <BODY>
                      6: <H1>
                      7:   Demultiplexing Stream
                      8: </H1>
                      9: <PRE>
                     10: /*
                     11: **     (c) COPYRIGHT MIT 1995.
                     12: **     Please first read the full copyright statement in the file COPYRIGH.
                     13: */
                     14: </PRE>
                     15: <P>
                     16: The MUX Reader Stream is an <A HREF="HTIOStream.html">input stream
                     17: </A>&nbsp;which knows how to demultiplex a MUX channel. It is part of the
                     18: <A HREF="WWWTrans.html">Transport interface </A>and may be registered as
                     19: part of a <A HREF="HTTrans.html">Transport Object</A>. The application
                     20: can&nbsp;initialize this stream together with the
                     21: <A HREF="HTMuxTx.html">HTMuxTx stream</A>, for example. In the
                     22: <A HREF="HTInit.html">default initialization module</A>, you can find the
                     23: <CODE>HTTransportInit()</CODE> function which sets up this stream as a default
                     24: transport for handling socket read operations.
                     25: <P>
                     26: This module is implemented by <A HREF="HTMuxRx.c">HTMuxRx.c</A>, and it is
2.3       frystyk    27: a part of the <A HREF="http://www.w3.org/Library/"> W3C Sample Code
2.1       frystyk    28: Library</A>.
                     29: <PRE>
                     30: #ifndef HTMUXRX_H
                     31: #define HTMUXRX_H
2.4     ! vbancrof   32: 
        !            33: #ifdef __cplusplus
        !            34: extern "C" { 
        !            35: #endif 
        !            36: 
2.1       frystyk    37: #include <A HREF="HTStream.html">"HTStream.h"</A>
                     38: #include <A HREF="HTMuxCh.html">"HTMuxCh.h"</A>
                     39: </PRE>
                     40: 
                     41: <PRE>
                     42: extern HTStream * HTDemux_new (HTHost * host, HTMuxChannel * muxch);
                     43: </PRE>
                     44: <PRE>
2.4     ! vbancrof   45: #ifdef __cplusplus
        !            46: }
2.1       frystyk    47: #endif
2.4     ! vbancrof   48: 
        !            49: #endif  /* HTMUXRX_H */
2.1       frystyk    50: </PRE>
                     51: <P>
                     52:   <HR>
                     53: <ADDRESS>
2.4     ! vbancrof   54:   @(#) $Id: HTDemux.html,v 2.3 1998/05/14 02:10:21 frystyk Exp $
2.1       frystyk    55: </ADDRESS>
                     56: </BODY></HTML>

Webmaster