Discuss this help topic in SecureBlackbox Forum
TElDTLSServerFactory.ProcessRequest
Processes the request received from the client.
Declaration
Parameters
Description
This method is used to process requests from clients. When a datagram from a new client is received (ClientHello message), user should generate a unique client's ID and pass the datagram and ClientID as parameters to the method. It generates a cookie and sends it back to the client. This cookie contains a unique ID of the client. The client should retransmit a ClientHello message with a cookie added. If the valid value is received, TElDTLSServerFactory creates a DTLS server and fires OnServerCreated event.