<HTML>
<HEAD>
<TITLE>Socket Writer Stream</TITLE>
<!-- Changed by: Henrik Frystyk Nielsen, 14-Aug-1995 -->
</HEAD>
<BODY>
<H1>Unix File descriptor or Socket Writer</H1>
<PRE>
/*
** (c) COPYRIGHT MIT 1995.
** Please first read the full copyright statement in the file COPYRIGH.
*/
</PRE>
This version of the stream object just writes to a socket. The socket
is assumed open and closed afterward.There are two versions (identical
on ASCII machines) one of which converts to ASCII on output.<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/hypertext/WWW/Library/">
W3C Reference Library</A>. <P>
<PRE>
#ifndef HTWRITE_H
#define HTWRITE_H
#include "HTStream.h"
extern HTStream * HTWriter_new PARAMS((SOCKFD soc, BOOL leave_open));
#if 0
extern HTStream * HTWriter_newNoClose PARAMS((SOCKFD soc));
#endif
#ifdef NOT_ASCII
extern HTStream * HTASCIIWriter PARAMS((SOCKFD soc));
#endif
#endif
</PRE>
end
</BODY>
</HTML>
Webmaster