Defines | Functions

listener.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
Include dependency graph for listener.cpp:

Go to the source code of this file.

Defines

#define MYPORT   "4950"
#define MAXBUFLEN   100

Functions

void * get_in_addr (struct sockaddr *sa)
int main (void)

Define Documentation

#define MYPORT   "4950"

Definition at line 19 of file listener.cpp.

#define MAXBUFLEN   100

Definition at line 21 of file listener.cpp.


Function Documentation

void* get_in_addr ( struct sockaddr *  sa  ) 

Definition at line 24 of file listener.cpp.

int main ( void   ) 

Definition at line 33 of file listener.cpp.