W3C Sample Code Library libwww Unbuffered Socket Writer Stream

# Unbuffered Socket Writer Stream

    /*
    **	(c) COPYRIGHT MIT 1995.
    **	Please first read the full copyright statement in the file COPYRIGH.
    */

The Socket Writer Stream is an output stream which knows how to write to a BSD type socket. It is part of the Transport interface and may be registered as part of a Transport Object. The application can initialize this stream together with the HTReader stream, for example. In the default initialization module, you can find the `HTTransportInit()` function which sets up this stream as a default transport for handling unbuffered socket write operations. See also the buffered writer stream.

This module is implemented by HTWriter.c, and it is a part of the W3C Sample Code Library.

    #ifndef HTWRITE_H
    #define HTWRITE_H

    #include "HTIOStream.h"

    extern HTOutput_new HTWriter_new;

    extern BOOL HTWriter_set (HTOutputStream *	me,
    			  HTNet *		net,
    			  HTChannel *		ch,
    			  void *		param,
    			  int			mode);

    #endif