Function netio_buffered_publish
Defined in File pubsub.c
Function Documentation
-
int netio_buffered_publish(struct netio_publish_socket *socket, netio_tag_t tag, void *data, size_t len, int flags, struct netio_subscription_cache *cache)
Publishes a message under a given tag
- Parameters:
socket – The socket to publish on
tag – The tag under which to publish
data – Message data
len – Message size
flags – NETIO_REENTRY publishing of this message was attempted before and resulted in NETIO_STATUS_AGAIN. Calling publish with this flag will only send on connections where the message was previously unpublished.
cache – Optional user-supplied cache for the subscription table lookup.