Protocol driver

From AOLserver Wiki
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.