Protocol driver

From AOLserver Wiki
Revision as of 07:16, 28 April 2004 by WikiSysop (talk | contribs) (imported from WiKit id 201)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An AOLserver protocol driver would be conceptualy similar to a socket driver (it doesn't yet exist, but see nsftp in CVS), only it would opperate higher in the stack. Once the socket driver has accepted a connection and performed any transformations on the stream of bytes such as encrypting/decrypting, control would be handed to the protocol driver registered to handle that socket/port combo.

The job of the protocol driver is to parse incoming requests and look up a proc to handle it using the method and URL as keys.