Client Socket providing ability to connect to and Address.
More...
#include <ClientSocket.h>
|
| virtual | ~ClientSocket () |
| |
| void | connect () const |
| |
| virtual | ~Socket () |
| |
| SelectResult | select (int timeout_ms, bool checkRead, bool checkWrite, bool checkError) |
| |
| short | poll (int timeout_ms, short eventsToLookFor) |
| |
| ssize_t | send (const void *buffer, size_t length, int flags=0) const |
| |
| ssize_t | receive (void *buffer, size_t length, int flags=0) const |
| |
| ssize_t | blockingReceive (void *buffer, size_t length) const |
| |
| void | getSocketOption (int level, int optionName, void *optionValue, socklen_t *optionLength) const |
| |
| void | setSocketOption (int level, int optionName, const void *optionValue, socklen_t optionLength) const |
| |
| int | getLowLevelSocket () const |
| |
| std::shared_ptr< Address > | getAddress () const |
| |
Client Socket providing ability to connect to and Address.
This adds to Socket the ability to connetc() to an address.
Definition at line 35 of file ClientSocket.h.
◆ Ptr
◆ ~ClientSocket()
| BsdSockets::ClientSocket::~ClientSocket |
( |
| ) |
|
|
virtual |
Closes socket. Virtual destructor to support derived classes.
Definition at line 40 of file ClientSocket.cpp.
◆ ClientSocket()
| BsdSockets::ClientSocket::ClientSocket |
( |
std::shared_ptr< Address > |
theAddress | ) |
|
|
protected |
Create ClientSocket to support an address, saving it for connect().
- Parameters
-
| theAddress | to create socket to use |
◆ connect()
| void BsdSockets::ClientSocket::connect |
( |
| ) |
const |
◆ create()
◆ open()
The documentation for this class was generated from the following files: