Botan 3.6.1
Crypto and TLS for C&
|
#include <socket_udp.h>
Public Member Functions | |
virtual size_t | read (uint8_t buf[], size_t len)=0 |
virtual void | write (const uint8_t buf[], size_t len)=0 |
virtual | ~SocketUDP ()=default |
A wrapper around a simple blocking UDP socket
Definition at line 28 of file socket_udp.h.
|
virtualdefault |
The socket will be closed upon destruction
|
pure virtual |
Reads up to len bytes, returns bytes written to buf. Returns 0 on EOF. Throws on error.
|
pure virtual |
Write to the socket. Returns immediately. Throws on error.