46 #include "sys/socket.h" 47 #include "arpa/inet.h" 85 bool rawPoll(
int timeout,
bool & ready,
bool & error);
static const int MAX_BUFFER_SIZE
maximum size of buffer for receiving data (fixed memory size used in order to avoid dynamic memory al...
char udp_read_buffer_[MAX_BUFFER_SIZE+1]
Defines socket functions required for a simple connection type.
static const char CONNECT_HANDSHAKE
udp socket connect handshake value
bool rawPoll(int timeout, bool &ready, bool &error)
polls socket for data or error
int rawReceiveBytes(char *buffer, industrial::shared_types::shared_int num_bytes)
int rawSendBytes(char *buffer, industrial::shared_types::shared_int num_bytes)