http.h
709 Bytes
#ifndef HTTP_H_INCLUDED
#define HTTP_H_INCLUDED
#include <stdio.h> /* printf, sprintf */
#include <stdlib.h> /* exit */
#include <unistd.h> /* read, write, close */
#include <string.h> /* memcpy, memset */
#include <sys/socket.h> /* socket, connect */
#include <netinet/in.h> /* struct sockaddr_in, struct sockaddr */
#include <netdb.h> /* struct hostent, gethostbyname */
#include <math.h>
#include <semaphore.h>
#include <pthread.h>
#include "rssi_list.h"
#include "pcap-thread.h"
#define PORT 9000 //
#define THEIRPORT 9050 //
#define MAXBUFLEN 5000 //
// udp Listenning http server
//void * udp_listening(void *msg);
void error(char *err, int sock);
#endif // HTTP_H