#include <rtnetwork.h>
Inheritance diagram for lrt::Socket:

Public Methods | |
| virtual | ~Socket () |
| NetworkInputStream * | getInput () |
| Gets the input stream of this socket, which you can use to read data from the remote computer. | |
| NetworkOutputStream * | getOutput () |
| Gets the output stream of this socket, which can be used to send data to the remote computer. | |
| void | close () |
| Closes this socket and the associated streams. | |
| bool | isClosed () |
| Check if the Socket is still open. | |
| String | getPeerName () |
| Get the comms partner name. | |
Protected Methods | |
| Socket (void *sock) | |
Protected Attributes | |
| void * | sock |
| NetworkInputStream * | in |
| NetworkOutputStream * | out |
Friends | |
| class | ServerSocket |
| class | Network |
| class | NetworkInputStream |
| class | NetworkOutputStream |