mirror of
https://github.com/TheTesla/HengLongUDPclient.git
synced 2025-06-28 11:26:07 +02:00
with killswitch
This commit is contained in:
parent
d8966aae22
commit
34113c63da
14 changed files with 16 additions and 10 deletions
|
@ -35,6 +35,10 @@
|
||||||
<Linker>
|
<Linker>
|
||||||
<Add option="-pthread" />
|
<Add option="-pthread" />
|
||||||
</Linker>
|
</Linker>
|
||||||
|
<Unit filename="checkkillswitch.c">
|
||||||
|
<Option compilerVar="CC" />
|
||||||
|
</Unit>
|
||||||
|
<Unit filename="checkkillswitch.h" />
|
||||||
<Unit filename="checkvideo.c">
|
<Unit filename="checkvideo.c">
|
||||||
<Option compilerVar="CC" />
|
<Option compilerVar="CC" />
|
||||||
</Unit>
|
</Unit>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<stdio.h>
|
<stdio.h>
|
||||||
<inttypes.h>
|
<inttypes.h>
|
||||||
|
|
||||||
1395876660 source:/home/chch/HengLongUDPclient/main.c
|
1396204130 source:/home/chch/HengLongUDPclient/main.c
|
||||||
<pthread.h>
|
<pthread.h>
|
||||||
<stdio.h>
|
<stdio.h>
|
||||||
<stdlib.h>
|
<stdlib.h>
|
||||||
|
@ -54,6 +54,7 @@
|
||||||
"wansview.h"
|
"wansview.h"
|
||||||
"extern.h"
|
"extern.h"
|
||||||
"checkvideo.h"
|
"checkvideo.h"
|
||||||
|
"checkkillswitch.h"
|
||||||
|
|
||||||
1395699958 /home/chch/HengLongUDPclient/henglong.h
|
1395699958 /home/chch/HengLongUDPclient/henglong.h
|
||||||
<linux/input.h>
|
<linux/input.h>
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
<CodeBlocks_layout_file>
|
<CodeBlocks_layout_file>
|
||||||
<ActiveTarget name="Debug" />
|
<ActiveTarget name="Debug" />
|
||||||
<File name="checkvideo.c" open="1" top="1" tabpos="9">
|
<File name="checkkillswitch.c" open="1" top="1" tabpos="11">
|
||||||
<Cursor position="551" topLine="8" />
|
<Cursor position="1009" topLine="0" />
|
||||||
|
</File>
|
||||||
|
<File name="checkvideo.c" open="1" top="0" tabpos="9">
|
||||||
|
<Cursor position="291" topLine="0" />
|
||||||
</File>
|
</File>
|
||||||
<File name="checkvideo.h" open="1" top="0" tabpos="10">
|
<File name="checkvideo.h" open="1" top="0" tabpos="10">
|
||||||
<Cursor position="208" topLine="0" />
|
<Cursor position="208" topLine="0" />
|
||||||
</File>
|
</File>
|
||||||
<File name="client.config" open="1" top="0" tabpos="8">
|
<File name="client.config" open="1" top="0" tabpos="8">
|
||||||
<Cursor position="122" topLine="0" />
|
<Cursor position="171" topLine="0" />
|
||||||
</File>
|
</File>
|
||||||
<File name="extern.c" open="1" top="0" tabpos="6">
|
<File name="extern.c" open="1" top="0" tabpos="6">
|
||||||
<Cursor position="41" topLine="0" />
|
<Cursor position="41" topLine="0" />
|
||||||
|
@ -23,12 +26,12 @@
|
||||||
<Cursor position="564" topLine="0" />
|
<Cursor position="564" topLine="0" />
|
||||||
</File>
|
</File>
|
||||||
<File name="main.c" open="1" top="0" tabpos="1">
|
<File name="main.c" open="1" top="0" tabpos="1">
|
||||||
<Cursor position="12726" topLine="438" />
|
<Cursor position="7630" topLine="406" />
|
||||||
</File>
|
</File>
|
||||||
<File name="wansview.c" open="1" top="0" tabpos="4">
|
<File name="wansview.c" open="1" top="0" tabpos="4">
|
||||||
<Cursor position="941" topLine="0" />
|
<Cursor position="1161" topLine="0" />
|
||||||
</File>
|
</File>
|
||||||
<File name="wansview.h" open="1" top="0" tabpos="5">
|
<File name="wansview.h" open="1" top="0" tabpos="5">
|
||||||
<Cursor position="534" topLine="0" />
|
<Cursor position="115" topLine="0" />
|
||||||
</File>
|
</File>
|
||||||
</CodeBlocks_layout_file>
|
</CodeBlocks_layout_file>
|
||||||
|
|
Binary file not shown.
BIN
bin/Release/UDPclient
Executable file
BIN
bin/Release/UDPclient
Executable file
Binary file not shown.
|
@ -40,8 +40,6 @@ int getPage(char* ip, uint16_t port, char* url, char* recvBuffer, uint32_t size)
|
||||||
n = read(sockfd, recvBuffer, size-1);
|
n = read(sockfd, recvBuffer, size-1);
|
||||||
recvBuffer[n] = 0;
|
recvBuffer[n] = 0;
|
||||||
|
|
||||||
printf("%s\n", recvBuffer);
|
|
||||||
|
|
||||||
if(n < 0)
|
if(n < 0)
|
||||||
{
|
{
|
||||||
printf("\n Read error \n");
|
printf("\n Read error \n");
|
||||||
|
|
|
@ -8,5 +8,5 @@ FRAME_US 100000
|
||||||
SERVER 192.168.1.13:32000
|
SERVER 192.168.1.13:32000
|
||||||
TIMEOUT 250
|
TIMEOUT 250
|
||||||
CLINBR 0
|
CLINBR 0
|
||||||
VIDEO 192.168.1.20:8080
|
VIDEO 192.168.1.66:8080
|
||||||
KILLSW 192.168.1.20:8080/status
|
KILLSW 192.168.1.20:8080/status
|
||||||
|
|
Binary file not shown.
BIN
obj/Release/checkkillswitch.o
Normal file
BIN
obj/Release/checkkillswitch.o
Normal file
Binary file not shown.
BIN
obj/Release/checkvideo.o
Normal file
BIN
obj/Release/checkvideo.o
Normal file
Binary file not shown.
BIN
obj/Release/extern.o
Normal file
BIN
obj/Release/extern.o
Normal file
Binary file not shown.
BIN
obj/Release/henglong.o
Normal file
BIN
obj/Release/henglong.o
Normal file
Binary file not shown.
BIN
obj/Release/main.o
Normal file
BIN
obj/Release/main.o
Normal file
Binary file not shown.
BIN
obj/Release/wansview.o
Normal file
BIN
obj/Release/wansview.o
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue