File:  [Public] / libwww / Library / src / HTWriter.html
Revision 2.23: download - view: text, annotated - select for diffs
Thu May 14 02:11:18 1998 UTC (26 years ago) by frystyk
Branches: MAIN
CVS tags: repeat-requests, before_webdav, Release-5-4-0, Release-5-3-1, Release-5-2-8, Release-5-2-6, Release-5-2, Release-5-1m, HEAD, Before-New-Trace-Messages, Amaya_2_4, Amaya-6-3, Amaya-6-1, Amaya-5-2, Amaya-4-3-2, Amaya-4-3-1, Amaya-4-3, Amaya-4-1-2, Amaya-4-1-0, Amaya-4-0-0, Amaya-3-2-1, Amaya-3-2, Amaya
Changing old pub/WWW links

<HTML>
<HEAD>
  <!-- Changed by: Henrik Frystyk Nielsen, 12-Apr-1996 -->
  <TITLE>W3C Sample Code Library libwww Unbuffered Socket Writer Stream</TITLE>
</HEAD>
<BODY>
<H1>
  Unbuffered Socket Writer Stream
</H1>
<PRE>
/*
**	(c) COPYRIGHT MIT 1995.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
</PRE>
<P>
The Socket Writer Stream is an <A HREF="HTIOStream.html">output stream
</A>&nbsp;which knows how to write to a BSD type socket. It is part of the
<A HREF="WWWTrans.html">Transport interface </A>and may be registered as
part of a <A HREF="HTTrans.html">Transport Object</A>. The application
can&nbsp;initialize this stream together with the
<A HREF="HTReader.html">HTReader stream</A>, for example. In the
<A HREF="HTInit.html">default initialization module</A>, you can find the
<CODE>HTTransportInit()</CODE> function which sets up this stream as a default
transport for handling unbuffered socket write operations. See also the
<A HREF="HTBufWrt.html">buffered writer stream</A>.
<P>
This module is implemented by <A HREF="HTWriter.c">HTWriter.c</A>, and it
is a part of the <A HREF="http://www.w3.org/Library/">W3C Sample Code
Library</A>.
<PRE>
#ifndef HTWRITE_H
#define HTWRITE_H

#include <A HREF="HTIOStream.html">"HTIOStream.h"</A>

</PRE>
<PRE>extern HTOutput_new HTWriter_new;

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

</PRE>
<PRE>#endif
</PRE>
<P>
  <HR>
<ADDRESS>
  @(#) $Id: HTWriter.html,v 2.23 1998/05/14 02:11:18 frystyk Exp $
</ADDRESS>
</BODY></HTML>

Webmaster