sister
|
Header for the request-handling module. More...
#include <stdio.h>
Go to the source code of this file.
Functions | |
int | initRequestHandler (void) |
Initializes the request-handling module. More... | |
void | handleRequest (FILE *rx, FILE *tx) |
Handles requests coming from a client. More... | |
Header for the request-handling module.
void handleRequest | ( | FILE * | rx, |
FILE * | tx | ||
) |
Handles requests coming from a client.
This function does the actual work of communicating with the client. It should be called from the connection-handling module.
rx | Client-connection stream opened for reading. |
tx | Client-connection stream opened for writing. |
int initRequestHandler | ( | void | ) |
Initializes the request-handling module.