Function pub_send

Function pub_send#

Function Documentation#

ECAL_API int pub_send(ECAL_HANDLE handle_, const char *payload_, const int length_, const long long time_)#

Send a message to all subscribers.

Deprecated:

Will be removed in future eCAL versions.

Parameters:
  • handle_ – Publisher handle.

  • payload_ – Buffer that contains content to send.

  • length_ – Send buffer length.

  • time_ – Send time (-1 = use eCAL system time in us, default = -1).

Returns:

Number of bytes sent.