26 #ifndef ORO_COMP_SOCKET_H 27 #define ORO_COMP_SOCKET_H 37 friend class ::sockbuf;
58 void checkBufferOverflow();
69 #define BUFLENGTH 2000 70 char buffer[BUFLENGTH];
void close()
Close the connection.
Socket(int socketID)
Create an incoming server socket.
The Orocos Component Library.
std::string readLine()
Read a line from the socket.
bool isValid() const
Check wether the state of the socket is valid or not.
bool dataAvailable()
Check wether there is new data available.