summaryrefslogtreecommitdiff
path: root/src/common.h
blob: 0274856b875e06950c566473dd0dd585c177bfb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef UDP_BROADCAST_COMMON
#define UDP_BROADCAST_COMMON

#include <arpa/inet.h>
#include <errno.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>

#define SERVERPORT 4950    // the port users will be connecting to
#define SERVERPORT_S "4950"
#define MAXBUFLEN 100

#endif // UDP_BROADCAST_COMMON
contact: Jan Huwald // Impressum