Annotation of libwww/Library/src/HTWriter.html, revision 2.15
2.5 timbl 1: <HTML>
2: <HEAD>
2.13 frystyk 3: <TITLE>Socket Writer Stream</TITLE>
2.15 ! frystyk 4: <!-- Changed by: Henrik Frystyk Nielsen, 9-Sep-1995 -->
2.5 timbl 5: </HEAD>
6: <BODY>
2.7 frystyk 7:
8: <H1>Unix File descriptor or Socket Writer</H1>
9:
10: <PRE>
11: /*
2.11 frystyk 12: ** (c) COPYRIGHT MIT 1995.
2.7 frystyk 13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
16:
17: This version of the stream object just writes to a socket. The socket
2.5 timbl 18: is assumed open and closed afterward.There are two versions (identical
2.15 ! frystyk 19: on ASCII machines) one of which converts to ASCII on output. We have
! 20: to have the Net Manager involved as we want to have control of how
! 21: many sockets we are using simultanously. This means that applications
! 22: should use the <A HREF="HTFWrite.html">ANSI C FILE writer stream</A>
! 23: for writing to an output. Proxy servers will have to go through the
! 24: Net Manager anyway, so this will not be a problem for them.<P>
2.7 frystyk 25:
26: This module is implemented by <A HREF="HTWriter.c">HTWriter.c</A>, and
2.15 ! frystyk 27: it is a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C
! 28: Reference Library</A>. <P>
2.9 frystyk 29:
30: <PRE>
31: #ifndef HTWRITE_H
2.1 timbl 32: #define HTWRITE_H
33:
34: #include "HTStream.h"
2.15 ! frystyk 35: #include "HTNet.h"
2.1 timbl 36:
2.15 ! frystyk 37: extern HTStream * HTWriter_new (HTNet *net, BOOL leave_open);
2.1 timbl 38:
2.10 frystyk 39: #ifdef NOT_ASCII
2.15 ! frystyk 40: extern HTStream * HTASCIIWriter (HTNet *net, BOOL leave_open);
2.10 frystyk 41: #endif
2.1 timbl 42:
43: #endif
2.10 frystyk 44: </PRE>
45: end
46: </BODY>
2.5 timbl 47: </HTML>
Webmaster