4 #include <bias_config.h>
6 #include "UDPServerClientDefinitions.hh"
7 #include <Base/Debug/Debug.hh>
13 #include <netinet/in.h>
17 #define D_UDP_SEND 0x00000001
38 int Connect(
const char* ipaddress_or_name,
int port,
bool UseTCP =
false);
42 int Connect(
int port,
bool UseTCP =
false);
54 int Send (
const char *message,
const size_t message_size);
66 int SendToUDP (
const char* message,
const size_t message_size,
67 const char* ipAddress,
int port);
82 struct sockaddr_in UDPSockAddr_;
83 struct sockaddr TCPSockAddr_;
unsigned int ImgBufferSize_
unsigned int MessageSize_
unsigned int GetMessageSize()
void SetThrottle(const unsigned int t)