RTC Toolkit  0.1.0-alpha
Functions | Variables
main.cpp File Reference
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <pthread.h>
#include <vector>
#include <string>
#include "mudpi.h"

Functions

void error (const char *msg)
 
int serve (char *serverhost, int portno, int limit)
 
int parse_args (int argc, char **argv, char *&hostname, int &portno, int &limit)
 
int main (int argc, char **argv)
 

Variables

const int BUFSIZE = 8800
 

Function Documentation

◆ error()

void error ( const char *  msg)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ parse_args()

int parse_args ( int  argc,
char **  argv,
char *&  hostname,
int &  portno,
int &  limit 
)

◆ serve()

int serve ( char *  serverhost,
int  portno,
int  limit 
)

Check for a limited number of receives

Variable Documentation

◆ BUFSIZE

const int BUFSIZE = 8800