9 More Discussions You Might Find Interesting
1. Solaris
Good morning everyone,
I'm looking for some help to retrieve data in a scenario where I might have made a big mistake. I'm hoping to understand what I did wrong.
My system is made of two Solaris 11 Express servers (old free version for evaluation). The first if for data and the second is... (7 Replies)
Discussion started by: rnd
7 Replies
2. UNIX for Beginners Questions & Answers
Required No.of field = 12
Let say you got a “~” delimited input file and this file has 6 input fields and now I want to add 12-5=7 number of “~” into this input file in order to make it 12 fields
datafile can have n number of records
ex.,
a~b~c~d~12~r
a~b~c~d~12~r
a~b~c~d~12~r... (19 Replies)
Discussion started by: LJJ
19 Replies
3. IP Networking
Hi please help,
theoretically I',m interested in starting a streaming service using multicast IP service. I'd like to know how do I get an IP address that I can send my data too? (please don't just point me too Internet Assigned Numbers Authority as ive been there and it just seem to state... (1 Reply)
Discussion started by: fishman2001
1 Replies
4. Programming
char name;
printf ("Welcome to the server \n");
printf ("Enter user name: \n");
scanf ("%c", &name);
how can client send name to server:what should be the code?
int send ( int sid , const char ∗buffer Ptr , int len , int f l a g )
how can client receive ack from... (1 Reply)
Discussion started by: saiful_911
1 Replies
5. Shell Programming and Scripting
Hi,
I would like to write a program to receive the GPS data and then send the data via network to other program.
All of the program is not write yet(include host and sender)
All of the server OS is unix or linux
Could you mind to give me some idea to do this?
Thanks so much!
Ken
... (2 Replies)
Discussion started by: kenlok
2 Replies
6. Solaris
On SUN Solaris 10, if I want to multicast packets between nodes, whether it must config the multicast IP from OS, if yes, how to do it? (0 Replies)
Discussion started by: Frank2004
0 Replies
7. Linux
On Linux, I have configured two different IP address for two network device eth0 ,eth1 , in my program, I want to multicast differently on these two network, I know it must add route for single network and I try to config another route for second network,but it can not work correctly, how to config... (0 Replies)
Discussion started by: Frank2004
0 Replies
8. HP-UX
Hi, there
On HP-UX, I want to multicast packets on two different IP network repectively.
The two NIC are configured with two different IP. The routes are added with one default and one net for each IP . The multisender programs bind their own local IP, multireceiver programs add the... (0 Replies)
Discussion started by: Frank2004
0 Replies
9. Solaris
How can I assign multicast ip address to my Sun server. I need this configuration to set up weblogic in cluster mode. This setup needs a multicast IP address where the managed servers can broadcast their heartbeats.
Thanks (0 Replies)
Discussion started by: krishan
0 Replies
CPG_JOIN(3) Corosync Cluster Engine Programmer's Manual CPG_JOIN(3)
NAME
cpg_join - Joins one or more groups in the CPG library
SYNOPSIS
#include <corosync/cpg.h>
int cpg_join(cpg_handle_t handle, struct cpg_name *group);
DESCRIPTION
The cpg_join function is used to join one group. When a group is joined, the cpg_mcast_joined(3) is called internally to multicast to the
groups joined in the argument handle. The process will also get notifications of other processes joining and leaving the group. Messages
that are sent to any of the groups joined to the parameter handle will be delivered by cpg_dispatch(3).
This function may be only be called once for each handle. When a group has been joined the process will start to receive callbacks relating
to messages sent from members of the group or notifications of processes joining or leaving the group.
Note that more than one process on each node can join a CPG group and each will receive its own copy of any messages sent using
cpg_mcast_joined() and its own confchg callback.
The argument group is used to specify the group to join.
The groups argument is of the type struct cpg_name which is defined by the structure:
struct cpg_name {
int length;
char value[128];
};
RETURN VALUE
This call returns the CPG_OK value if successful, CPG_ERR_INVALID_PARAM if the handle is already joined to a group.
ERRORS
Not all errors are documented.
SEE ALSO
cpg_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)
corosync Man Page 2004-08-31 CPG_JOIN(3)