Diff for /libwww/Library/src/HTNet.html between versions 2.50 and 2.51

version 2.50, 1997/02/16 18:42:44 version 2.51, 1998/05/04 19:37:06
Line 430  extern HTNet * HTNet_dup (HTNet * src); Line 430  extern HTNet * HTNet_dup (HTNet * src);
 Start a Net obejct by calling the protocol module.  Start a Net obejct by calling the protocol module.
 <PRE>extern BOOL HTNet_start (HTNet * net);  <PRE>extern BOOL HTNet_start (HTNet * net);
 </PRE>  </PRE>
   
 <H3>  <H3>
 Call a Net Event Handler     Call a Net Event Handler
 </H3>  </H3>
   <P>
 This functions lets the caller play event manager as it can calls any  This functions lets the caller play event manager as it can calls any event
 event handler with the event type and context passed to the function  handler with the event type and context passed to the function
   
 <PRE>  <PRE>
 extern BOOL HTNet_execute (HTNet * net, HTEventType type);  extern BOOL HTNet_execute (HTNet * net, HTEventType type);
   
Line 447  extern void * HTNet_eventParam (HTNet * Line 445  extern void * HTNet_eventParam (HTNet *
 extern BOOL HTNet_setEventCallback(HTNet * net, HTEventCallback * cbf);  extern BOOL HTNet_setEventCallback(HTNet * net, HTEventCallback * cbf);
 extern HTEventCallback * HTNet_eventCallback(HTNet * net);  extern HTEventCallback * HTNet_eventCallback(HTNet * net);
 </PRE>  </PRE>
   
 <H3>  <H3>
   Delete an Object    Delete an Object
 </H3>  </H3>
Line 571  extern void * HTNet_context (HTNet * net Line 568  extern void * HTNet_context (HTNet * net
 extern BOOL HTNet_setSocket (HTNet * net, SOCKET sockfd);  extern BOOL HTNet_setSocket (HTNet * net, SOCKET sockfd);
 extern SOCKET HTNet_socket (HTNet * net);  extern SOCKET HTNet_socket (HTNet * net);
 </PRE>  </PRE>
   
 <H3>  <H3>
   Preemptive or Non-preemptive Access    Preemptive or Non-preemptive Access
 </H3>  </H3>
Line 582  implementation of the protocol module it Line 578  implementation of the protocol module it
 is the default then some times it is nice to be able to set the mode to blocking  is the default then some times it is nice to be able to set the mode to blocking
 instead. For example when loading the first document (the home page) then  instead. For example when loading the first document (the home page) then
 blocking can be used instead of non-blocking.  blocking can be used instead of non-blocking.
   
 <PRE>  <PRE>
 extern BOOL HTNet_preemptive (HTNet * net);  extern BOOL HTNet_preemptive (HTNet * net);
 </PRE>  </PRE>
   
 <H3>  <H3>
   The Request Object    The Request Object
 </H3>  </H3>
Line 597  but can be changed at a later time. Line 591  but can be changed at a later time.
 extern BOOL HTNet_setRequest (HTNet * net, HTRequest * request);  extern BOOL HTNet_setRequest (HTNet * net, HTRequest * request);
 extern HTRequest * HTNet_request (HTNet * net);  extern HTRequest * HTNet_request (HTNet * net);
 </PRE>  </PRE>
   
 <H3>  <H3>
 The Protocol Object    The Protocol Object
 </H3>  </H3>
   
 <PRE>  <PRE>
 extern BOOL HTNet_setProtocol (HTNet * net, HTProtocol * protocol);  extern BOOL HTNet_setProtocol (HTNet * net, HTProtocol * protocol);
 extern HTProtocol * HTNet_protocol (HTNet * net);  extern HTProtocol * HTNet_protocol (HTNet * net);
 </PRE>  </PRE>
   
 <H3>  <H3>
   The Transport Object    The Transport Object
 </H3>  </H3>
 <P>  <P>
 The <A HREF="HTTransport.html">transport object</A> is normally set up  The <A HREF="HTTrans.html">transport object</A> is normally set up automatically
 automatically but can be changed at a later time.  but can be changed at a later time.
 <PRE>  <PRE>
 extern BOOL HTNet_setTransport (HTNet * net, HTTransport * tp);  extern BOOL HTNet_setTransport (HTNet * net, HTTransport * tp);
 extern HTTransport * HTNet_transport (HTNet * net);  extern HTTransport * HTNet_transport (HTNet * net);
Line 642  extern BOOL HTNet_setDns (HTNet * net, H Line 633  extern BOOL HTNet_setDns (HTNet * net, H
 extern HTdns * HTNet_dns (HTNet * net);  extern HTdns * HTNet_dns (HTNet * net);
 </PRE>  </PRE>
 <P>  <P>
   
 <H3>  <H3>
 Target for Input Read Stream    Target for Input Read Stream
 </H3>  </H3>
   
 <PRE>  <PRE>
 extern HTStream * HTNet_readStream(HTNet * net);  extern HTStream * HTNet_readStream(HTNet * net);
 extern BOOL HTNet_setReadStream (HTNet * net, HTStream * stream);  extern BOOL HTNet_setReadStream (HTNet * net, HTStream * stream);
 </PRE>  </PRE>
   
 <PRE>  <PRE>
 #endif /* HTNET_H */  #endif /* HTNET_H */
 </PRE>  </PRE>

Removed from v.2.50  
changed lines
  Added in v.2.51


Webmaster