CRTP class for platform specific socket implementation. More...
#include <socket.h>
| Public Member Functions | |
| void | bind (const sockaddr_in &addr) | 
| Binds the socket to an interface.  More... | |
| void | enableBroadcast () | 
| Enables broadcast for this socket.  More... | |
| void | enableNonBlocking () | 
| Enables non-blocking operation for this socket.  More... | |
| template<typename T > | |
| const T & | getHandle () const | 
| Returns the native socket handle.  More... | |
| const std::string & | getIfaceName () const | 
| Returns the interface name.  More... | |
| Socket & | operator= (const Socket &)=delete | 
| Socket & | operator= (Socket &&)=default | 
| void | send (const std::vector< uint8_t > &sendbuf) | 
| Sends data.  More... | |
| Socket (const Socket &)=delete | |
| Socket (Socket &&)=default | |
| Socket (std::string iface_name) | |
| Private Member Functions | |
| Derived & | getDerived () | 
| const Derived & | getDerived () const | 
| Private Attributes | |
| std::string | iface_name_ | 
CRTP class for platform specific socket implementation.
| 
 | inlineexplicit | 
| 
 | delete | 
| 
 | default | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inlineprivate | 
| 
 | inlineprivate | 
| 
 | inline | 
| 
 | inline | 
| 
 | delete | 
| 
 | default | 
| 
 | inline | 
| 
 | private |