CPG_MCAST_JOINED - Online Linux Manual PageSection : 3
Updated : 3004-08-31
Source : corosync Man Page
Note : Corosync Cluster Engine Programmer's Manual

NAMEcpg_mcast_joined − Multicasts to all groups joined to a handle

SYNOPSIS#include <sys/uio.h> #include <corosync/cpg.h> int cpg_mcast_joined(cpg_handle_t handle, cpg_guarantee_t guarantee, struct iovec *iovec, int iov_len");

DESCRIPTIONThe cpg_mcast_joined function will multicast a message to all the processes that have been joined with the cpg_join(3) function for the same group name. Messages that are sent to any of the groups joined to the parameter handle will be delivered to all subscribed processes in the system. The argument guarantee requests a delivery guarantee for the message to be sent. The cpg_guarantee_t type is defined by: typedef enum { CPG_TYPE_UNORDERED, /* not implemented */ CPG_TYPE_FIFO, /* same as agreed */ CPG_TYPE_AGREED, /* implemented */ CPG_TYPE_SAFE /* not implemented */ } cpg_guarantee_t; .taThe meanings of the cpg_guarantee_t typedef are: CPG_TYPE_UNORDERED  Messages are guaranteed to be delivered, but with no particular order. This mode is unimplemented in the CPG library. CPG_TYPE_FIFO  Messages are guaranteed to be delivered in first sent first delivery order. In fact, this guarantee is equivalent to the CPG_TYPE_AGREED guarantee. CPG_TYPE_AGREED  All processors must agree on the order of delivery. If a message is sent from two or more processes at about the same time, the delivery will occur in the same order to all processes. CPG_TYPE_SAFE  All processes must agree on the order of delivery. Further all processes must have a copy of the message before any delivery takes place. This mode is unimplemented in the CPG library. The iovec argument describes the scatter/gather list which is used to transmit a message. This is a iovec described by: struct iovec { void *iov_base; /* Pointer to data. */ unsigned int iov_len; /* Length of data. */ }; .taThe iov_len argument describes the number of entires in the iovec argument.

RETURN VALUEThis call returns the CPG_OK value if successful, otherwise an error is returned.

ERRORSThe errors are undocumented.

SEE ALSOcpg_overview(8), cpg_initialize(3), cpg_finalize(3), cpg_fd_get(3), cpg_dispatch(3), cpg_join(3), cpg_leave(3), cpg_mcast_joined(3), cpg_membership_get(3) cpg_zcb_alloc(3) cpg_zcb_free(3) cpg_zcb_mcast_joined(3) cpg_context_get(3) cpg_context_set(3) cpg_local_get(3)
0
Johanes Gumabo
Data Size   :   10,146 byte
man-cpg_mcast_joined.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 183,249
Visitor ID   :     :  
Visitor IP   :   18.223.209.114   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_ta|11|cpg_mcast_joined.3|67|1|.ta )         (rof_ta|11|cpg_mcast_joined.3|107|1|.ta )