Dtls12Client.buildDtlsClientHello
ubyte[] buildDtlsClientHello(const(ubyte)[] cookie)Builds a DTLS ClientHello handshake message.
Includes the DTLS-specific cookie field. On first attempt the cookie is empty; after HelloVerifyRequest it contains the server's cookie.
Parameters
cookie | Cookie from HelloVerifyRequest, or null for first attempt. |
Returns
The serialized ClientHello with DTLS handshake header.