MCPcopy Create free account

hub / github.com/cbsheng/tinyhttpd / functions

Functions18 in github.com/cbsheng/tinyhttpd

↓ 6 callersFunctionget_line
/ Get a line from a socket, whether the line ends in a newline, * carriage return, or a CRLF combination. Terminates the string read * with a null
httpd.c:377
↓ 5 callersFunctionerror_die
/ Print out an error message with perror() (for system errors; based * on value of errno, which indicates system call errors) and exit the * program
httpd.c:231
↓ 3 callersFunctioncannot_execute
/ Inform the client that a CGI script could not be executed. * Parameter: the client socket descriptor. */ /
httpd.c:212
↓ 2 callersFunctionnot_found
/ Give a client a 404 not found status message. */ /
httpd.c:435
↓ 1 callersFunctionaccept_request
/ A request has caused a call to accept() on the server port to * return. Process the request appropriately. * Parameters: the socket connected to
httpd.c:58
↓ 1 callersFunctionbad_request
/ Inform the client that a request it has made has a problem. * Parameters: client socket */ /
httpd.c:172
↓ 1 callersFunctioncat
/ Put the entire contents of a file out on a socket. This function * is named after the UNIX "cat" command, because it might have been * easier jus
httpd.c:195
↓ 1 callersFunctionexecute_cgi
/ Execute a CGI script. Will need to set environment variables as * appropriate. * Parameters: client socket descriptor * path to the
httpd.c:244
↓ 1 callersFunctionheaders
/ Return the informational HTTP headers about a file. */ Parameters: the socket to print the headers on * the name of the file */ /
httpd.c:417
↓ 1 callersFunctionserve_file
/ Send a regular file to the client. Use headers, and report * errors to client if they occur. * Parameters: a pointer to a file structure produced
httpd.c:466
↓ 1 callersFunctionstartup
/ This function starts the process of listening for web connections * on a specified port. If the port is 0, then dynamically allocate a * port and
httpd.c:501
↓ 1 callersFunctionunimplemented
/ Inform the client that the requested web method has not been * implemented. * Parameter: the client socket */ /
httpd.c:549
Functionmain
simpleclient.c:8
Functionmain
httpd.c:573
Functionmain
example/UDPserver.cpp:8
Functionmain
example/echoserver.cpp:12
Functionmain
example/UDPclient.cpp:8
Functionmain
example/echoclient.cpp:9