[Prev][Next][Index][Thread]
Re: add new protocol
-
To: Jiang Tao <jiangt@ceci.mit.edu>
-
Subject: Re: add new protocol
-
From: Henrik Frystyk Nielsen <frystyk@w3.org>
-
Date: Thu, 25 Jan 1996 13:45:50 -0500
-
Cc: W3C Lib <www-lib@w3.org>
-
From frystyk@w3.org Thu Jan 25 13: 45:55 1996
-
Message-Id: <9601251845.AA13316@www20>
-
Reply-To: Henrik Frystyk Nielsen <frystyk@w3.org>
-
X-Mailer: exmh version 1.6.2 7/18/95
Jiang Tao writes:
> I want to add new protocols to my application, can I make use of
> the socket read and write of w3c lib, if yes, how can I do that?
The Library is explicitly designed to make this very easy. You simply register
a new protocol module in the core by binding a specific access scheme of a URL
to the load module. The only requirement is that your load module has to be of
type HTEventCallBack() so that in case you register it as being capable of
using non-blocking sockets then the event loop can find it again.
It's all explained in detail in the User's Guide, either at our server:
http://www.w3.org/pub/WWW/Library/User/Using/Methods.html
or in your local copy of the distribution file:
WWW/Library/User/Using/Methods.html
--
Henrik Frystyk Nielsen, <frystyk@w3.org>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA