OpenDOF Project
void(* DTLServer::Send)(DTLServer server, DOFAddress target, uint8 *data, uint32 offset, uint32 length)

Send a response to the specified address using a server.

This call is only valid for datagram servers. This method should not block; if it does, the call may delay the caller longer than intended, and may result in the violation of certain expected timing constraints as well as poor performance. This call cannot fail. The transport may choose to drop the data if it cannot be sent.

Note
Ownership of the data buffer is passed into this call. The transport is required to free the data buffer with PCRMem_Free().

This callback must not be NULL.

Parameters
serverThe server. This parameter must not be NULL.
targetThe target address. This parameter must not be NULL.
dataThe data buffer. If NULL, this function does nothing.
offsetThe offset into the data buffer where the data to send begins. Must be less than length.
lengthThe length of the data to send. Must be greater than offset.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22