File:  [Public] / libwww / Library / src / HTWriter.html
Revision 2.9: download - view: text, annotated - select for diffs
Tue Mar 21 17:47:40 1995 UTC (29 years, 2 months ago) by frystyk
Branches: MAIN
CVS tags: v3/0, WindowsNT, HEAD
Getting Library back on main branch

<HTML>
<HEAD>
<TITLE>Socket writer for libwww</TITLE>
</HEAD>
<BODY>

<H1>Unix File descriptor or Socket Writer</H1>

<PRE>
/*
**	(c) COPYRIGHT CERN 1994.
**	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://info.cern.ch/hypertext/WWW/Library/User/Guide/Guide.html">
Library of Common Code</A>.

<H3>Bugs:</H3>
<UL>
<LI>strings written must be less than
buffer size.
</UL>

<PRE>
#ifndef HTWRITE_H
#define HTWRITE_H

#include "HTStream.h"

extern HTStream * HTWriter_new		PARAMS((SOCKFD soc));
extern HTStream * HTWriter_newNoClose	PARAMS((SOCKFD soc));

extern HTStream * HTASCIIWriter		PARAMS((SOCKFD soc));

#endif

</PRE>end</BODY>
</HTML>

Webmaster