Go to the documentation of this file.
20 #include <sys/socket.h>
21 #include <arpa/inet.h>
37 bool open(std::string ipAddress,
UINT16 port,
bool enableVerboseDebugOutput =
false);
38 bool open(
UINT32 ipAddress,
UINT16 port,
bool enableVerboseDebugOutput =
false);
bool isClientConnected_unlocked()
std::list< unsigned char > m_rxBuffer
UINT32 getNumReadableBytes()
void * m_disconnectFunctionObjPtr
void(* DisconnectFunction)(void *obj)
void(* ReadFunction)(void *obj, UINT8 *inputBuffer, UINT32 &numBytes)
SickThread< Tcp, &Tcp::readThreadFunction > m_readThread
bool write(UINT8 *buffer, UINT32 numberOfBytes)
void setDisconnectCallbackFunction(DisconnectFunction discFunction, void *obj)
void * m_readFunctionObjPtr
struct sockaddr_in m_serverAddr
std::string readString(UINT8 delimiter)
bool m_longStringWarningPrinted
void setReadCallbackFunction(ReadFunction readFunction, void *obj)
ReadFunction m_readFunction
UINT32 read(UINT8 *buffer, UINT32 bufferLen)
void readThreadFunction(bool &endThread, UINT16 &waitTimeMs)
DisconnectFunction m_disconnectFunction
bool open(std::string ipAddress, UINT16 port, bool enableVerboseDebugOutput=false)
sick_scan
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19