Inheritance diagram for Socket:Public Member Methods | |
| Socket () | |
| Default constructor. More... | |
| virtual | ~Socket () |
| Destructor. More... | |
| void | Close () |
| Closes this object. More... | |
| bool | IsOpen () const |
| Query if the socket is open. More... | |
| PCChar8 | GetHostName () const |
| Gets the host name. More... | |
| Int32 | GetPort () const |
| Gets the port. More... | |
| const PeerInfo & | GetPeerInfo () const |
| Gets the peer information. More... | |
| void | SetOption (SocketOption option, bool value) |
| Sets an option. More... | |
| Socket | ( | ) |
Default constructor.
|
virtual |
Destructor.
| void Close | ( | ) |
Closes this object.
| PCChar8 GetHostName | ( | ) | const |
Gets the host name.
| const PeerInfo& GetPeerInfo | ( | ) | const |
Gets the peer information.
| Int32 GetPort | ( | ) | const |
Gets the port.
| bool IsOpen | ( | ) | const |
Query if the socket is open.
| void SetOption | ( | SocketOption | option, |
| bool | value | ||
| ) |
Sets an option.
| option | Select the option. |
| value | Activate if true, desactivate is false the option. |