NativeDtlsEngine.getPeer

DtlsPeer getPeer(DatagramEndpoint addr) @safe

Get a peer by address.

Returns a DtlsPeer object for interacting with the specified peer. Returns null if no peer exists at that address.

Parameters

addrThe peer's network address.

Returns

The DtlsPeer, or null if not found.