|
|
| Socket (const Socket &)=delete |
| | disable copy
|
| |
|
| Socket (Socket &&)=delete |
| | disable move
|
| |
|
| Socket () |
| | Constructor.
|
| |
|
| ~Socket () |
| | Destructor.
|
| |
|
void | close () |
| | Close the socket.
|
| |
|
bool | shutdown () |
| | Shutdown the socket shutdown SHUT_RDWR.
|
| |
| bool | open (Type type) |
| | Open the socket.
|
| |
|
bool | is_open () const |
| | Check if the socket is open.
|
| |
| bool | is_open_raw (uint16_t) |
| | Set the interface number for RAW transmission (pcap starts here on Windows)
|
| |
|
bool | setInterface (std::uint32_t) |
| | set transmission interface (Not recommended
|
| |
|
bool | bindV4 (IPAddress) |
| |
|
bool | bindV6 (IPAddress &, uint32_t=1000) |
| |
|
bool | memberV6 (const IPAddress &) |
| |
|
bool | memberV4 (const IPAddress &) |
| |
|
bool | memberV4 (const IPAddress &, const IPAddress &) |
| |
|
WAIT_CODE | acceptV6 (Socket &, IPAddress &, ACQUA::Clock) |
| |
|
bool | acceptV6 (Socket &, IPAddress &) |
| |
|
bool | connectV6 (const IPAddress &) |
| |
|
bool | connectV4 (const IPAddress &) |
| |
|
bool | sendToV6 (BufferCS_const, bool, void *) |
| |
|
bool | sendToV6 (Array< EthernetBuffer * >, void *) |
| |
|
bool | sendToV6 (BufferCS_const, const IPAddress &, bool) |
| |
|
bool | sendToV4 (BufferCS_const, const IPAddress &, const IPAddress &, bool) |
| |
|
bool | sendToV4 (BufferCS_const, const IPAddress &, bool) |
| |
|
bool | sendRAW (BufferCS_const) |
| |
|
bool | sendRAW (Array< EthernetBuffer * > &) |
| |
|
bool | sendNoBlock (BufferCS_const, std::size_t, std::size_t &) |
| |
|
bool | send (BufferCS_const) |
| |
|
bool | receiveFromV6 (Buffer &, IPAddress &) |
| |
|
bool | receiveFromV6 (BufferCS, std::size_t &, IPAddress &) |
| |
|
bool | receiveFromV4 (Buffer &, IPAddress &) |
| |
|
bool | receiveFromV4 (BufferCS, std::size_t &, IPAddress &) |
| |
|
bool | receive (BufferCS, std::size_t &) |
| |
|
bool | receiveOff (BufferCS, std::size_t, std::size_t &) |
| |
|
bool | receive (Buffer &) |
| |
|
bool | receiveOff (Buffer &, std::size_t) |
| |
|
bool | is_V4 () const |
| |
|
bool | is_V6 () const |
| |
|
bool | is_TCP () const |
| |
|
bool | is_UDP () const |
| |
|
WAIT_CODE | wait () |
| |
|
WAIT_CODE | wait (ACQUA::Clock) |
| |
|
bool | setBlocking (bool) |
| |
|
bool | getBlocking () |
| |
|
void | setRecvTargetSize (std::size_t si) |
| |
|
std::size_t | getRecvTargetSize () |
| |
|
std::uint16_t | get_ifno () const |
| |
|
std::uint64_t | getDescriptor () const |
| |