#include <udp_socket.h>
Public Member Functions | |
bool | receiveMsg (industrial::simple_message::SimpleMessage &message) |
Receives a message using the data connection. | |
UdpSocket () | |
~UdpSocket () | |
Protected Member Functions | |
int | rawReceiveBytes (char *buffer, industrial::shared_types::shared_int num_bytes) |
int | rawSendBytes (char *buffer, industrial::shared_types::shared_int num_bytes) |
Static Protected Attributes | |
static const char | CONNECT_HANDSHAKE = 255 |
udp socket connect handshake value |
Definition at line 61 of file udp_socket.h.
Definition at line 55 of file udp_socket.cpp.
Definition at line 63 of file udp_socket.cpp.
int industrial::udp_socket::UdpSocket::rawReceiveBytes | ( | char * | buffer, |
industrial::shared_types::shared_int | num_bytes | ||
) | [protected, virtual] |
Implements industrial::simple_socket::SimpleSocket.
Definition at line 132 of file udp_socket.cpp.
int industrial::udp_socket::UdpSocket::rawSendBytes | ( | char * | buffer, |
industrial::shared_types::shared_int | num_bytes | ||
) | [protected, virtual] |
Implements industrial::simple_socket::SimpleSocket.
Definition at line 121 of file udp_socket.cpp.
bool industrial::udp_socket::UdpSocket::receiveMsg | ( | industrial::simple_message::SimpleMessage & | message | ) | [virtual] |
Receives a message using the data connection.
populated | with received message |
Reimplemented from industrial::smpl_msg_connection::SmplMsgConnection.
Definition at line 70 of file udp_socket.cpp.
const char industrial::udp_socket::UdpSocket::CONNECT_HANDSHAKE = 255 [static, protected] |
udp socket connect handshake value
Definition at line 81 of file udp_socket.h.