eve.net.dtls.convert
Address conversion helpers between EVE and DDN types.
EVE uses eve.aio.posix.udp.SocketAddress (POSIX sockaddr_in-style) while DDN uses ddn.api.net.dtls.DatagramEndpoint. This module provides zero-allocation conversion between the two.
Functions 2
fn
DatagramEndpoint toDatagramEndpoint(ref const SocketAddress sa) @safe pure nothrow @nogcConverts an EVE SocketAddress to a DDN DatagramEndpoint.fn
SocketAddress toEveSocketAddress(ref const DatagramEndpoint de) @safe pure nothrow @nogcConverts a DDN DatagramEndpoint to an EVE SocketAddress.