Apache HTTPD
Macros | Functions
echod.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "apr.h"
#include "apr_network_io.h"
#include "apr_strings.h"

Go to the source code of this file.

Macros

#define BUF_SIZE   4096
 

Functions

static void reportError (const char *msg, apr_status_t rv, apr_pool_t *pool)
 
static apr_status_t talkTalk (apr_socket_t *socket, apr_pool_t *parent)
 
static apr_status_t glassToWall (apr_port_t port, apr_pool_t *parent)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ BUF_SIZE

#define BUF_SIZE   4096

Definition at line 29 of file echod.c.

Function Documentation

◆ glassToWall()

static apr_status_t glassToWall ( apr_port_t  port,
apr_pool_t parent 
)
static

< TCP

Definition at line 67 of file echod.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 113 of file echod.c.

◆ reportError()

static void reportError ( const char msg,
apr_status_t  rv,
apr_pool_t pool 
)
static

Definition at line 31 of file echod.c.

◆ talkTalk()

static apr_status_t talkTalk ( apr_socket_t socket,
apr_pool_t parent 
)
static

Definition at line 38 of file echod.c.