blob: a3e779acb31f3a26f247f433e56572c8a2efd58f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef DISPATCHER_H
#define DISPATCHER_H
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
int initDispatcher();
int requestDispatcher(int sockfd, struct sockaddr_in *addr, socklen_t *addrlen );
void freeDispatcher();
#endif
|