#include <tcp_socket.h>
Public Member Functions | |
TcpSocket () | |
virtual | ~TcpSocket () |
Private Member Functions | |
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) |
Definition at line 61 of file tcp_socket.h.
Definition at line 54 of file tcp_socket.cpp.
industrial::tcp_socket::TcpSocket::~TcpSocket | ( | ) | [virtual] |
Definition at line 58 of file tcp_socket.cpp.
bool industrial::tcp_socket::TcpSocket::rawPoll | ( | int | timeout, |
bool & | ready, | ||
bool & | error | ||
) | [private, virtual] |
polls socket for data or error
timeout | (ms) negative or zero values result in blocking |
ready | true if ready |
except | true if exception |
Implements industrial::simple_socket::SimpleSocket.
Definition at line 83 of file tcp_socket.cpp.
int industrial::tcp_socket::TcpSocket::rawReceiveBytes | ( | char * | buffer, |
industrial::shared_types::shared_int | num_bytes | ||
) | [private, virtual] |
Implements industrial::simple_socket::SimpleSocket.
Definition at line 74 of file tcp_socket.cpp.
int industrial::tcp_socket::TcpSocket::rawSendBytes | ( | char * | buffer, |
industrial::shared_types::shared_int | num_bytes | ||
) | [private, virtual] |
Implements industrial::simple_socket::SimpleSocket.
Definition at line 65 of file tcp_socket.cpp.