change TCP port datatype from int to uint16_t

because int doesn't match the range
add range check in every TCP binary
This commit is contained in:
Stefan Wahren
2013-05-12 21:26:38 +02:00
parent b0dff87093
commit 4d85dad403
19 changed files with 96 additions and 50 deletions

View File

@ -19,6 +19,7 @@
#define _MBUS_PROTOCOL_H_
#include <stdlib.h>
#include <stdint.h>
#include <time.h>
#ifdef __cplusplus