5
0
Fork 0
mirror of https://github.com/TheTesla/HengLongUDPclient.git synced 2025-06-29 03:46:08 +02:00

killswitch implemented

This commit is contained in:
TheTesla 2014-03-30 20:29:30 +02:00
parent c7ad0b69ab
commit d8966aae22
8 changed files with 106 additions and 2 deletions

15
checkkillswitch.h Normal file
View file

@ -0,0 +1,15 @@
#ifndef CHECKKILLSWITCH_H_INCLUDED
#define CHECKKILLSWITCH_H_INCLUDED
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <string.h>
#include <sys/time.h>
int getPage(char* ip, uint16_t port, char* url, char* recvBuffer, uint32_t size);
int checkkillswitch(char* ip, uint16_t port, char* url);
#endif // CHECKKILLSWITCH_H_INCLUDED