|
OrocosComponentLibrary
2.7.0
|
Inherits ostream.
Public Member Functions | |
| Socket (int socketID) | |
| Create an incoming server socket. | |
| bool | isValid () const |
| Check wether the state of the socket is valid or not. | |
| bool | dataAvailable () |
| Check wether there is new data available. | |
| std::string | readLine () |
| Read a line from the socket. | |
| void | close () |
| Close the connection. | |
Friends | |
| class | ::sockbuf |
Definition at line 36 of file socket.hpp.
| Socket | ( | int | socketID | ) |
Create an incoming server socket.
| port | Port to listen on. |
Definition at line 141 of file socket.cpp.
| void close | ( | ) |
1.7.6.1