|
HosrDiretta
|
Public Member Functions | |
| bool | open (bool v4v6=false) |
| bool | bind (IPAddress &add) |
| WAIT_CODE | accept (TCPV6Client &soc, IPAddress &add, ACQUA::Clock wt) |
| bool | accept (TCPV6Client &soc, IPAddress &add) |
| WAIT_CODE | accept (TCPV6Client &soc, ACQUA::Clock wt) |
| bool | accept (TCPV6Client &soc) |
Public Member Functions inherited from ACQUA::Socket | |
| 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 |
Additional Inherited Members | |
Public Types inherited from ACQUA::Socket | |
| enum class | Type { IPV4_TCP , IPV4_UDP , IPV6_TCP , IPV6_UDP , IPV6V4_TCP , IPV6V4_UDP , SOCKET_RAW } |
| Socket type. | |
Static Public Member Functions inherited from ACQUA::Socket | |
| static bool | getMyAddresV4 (EthernetInterfases &) |
| static bool | getMyAddresV6 (EthernetInterfases &) |
| static bool | getMyLocalAddresV6 (EthernetInterfases &, bool) |
| static std::uint32_t | getLoopbackIfno () |
Public Attributes inherited from ACQUA::Socket | |
| int | Errcode |
| int | bindIfNo |
Protected Attributes inherited from ACQUA::Socket | |
| AutoStackPointer< 8, UnitType > | UnitData |
| Type | SocketType |