recv-announce.cc File Reference
#include "squid.h"
#include <csignal>
#include <cstring>
#include <fcntl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
Include dependency graph for recv-announce.cc:

Go to the source code of this file.

Macros

#define RECV_BUF_SIZE   8192
 

Functions

static void sig_handle (int)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define RECV_BUF_SIZE   8192

Definition at line 22 of file recv-announce.cc.

Referenced by main().

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 56 of file recv-announce.cc.

References buf, gethostbyaddr(), hostent::h_name, len, logfile, NULL, RECV_BUF_SIZE, and sig_handle().

static void sig_handle ( int  )
static

Definition at line 46 of file recv-announce.cc.

Referenced by main().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors