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
getipv4sourcefilter(3N) getipv4sourcefilter(3N)
NAME
getipv4sourcefilter() - get IPv4 multicast source filter state
SYNOPSIS
DESCRIPTION
This function retrieves the multicast source filter state for an IPv4 multicast group which the application has joined on a given socket.
Parameters
s Specifies the descriptor identifying the socket. The socket address family must be and the socket type must be
interface Holds the IPv4 address of a local interface, or If set to the system chooses a multicast group by matching the multicast address
only.
group Holds the IPv4 multicast address of the group.
fmode Points to an integer that will contain the filter mode on a successful return. The value of this field will be either or which
are defined in
numsrc On input, the numsrc argument holds the number of source addresses that will fit in the slist array. On output, the numsrc argu-
ment will hold the total number of sources in the filter.
slist Points to buffer into which an array of IPv4 addresses of included or excluded (depending on the filter mode) sources will be
written. If numsrc was 0 on input, a NULL pointer may be supplied.
If the application does not know the size of the source list beforehand, it can make a reasonable guess (for example, by setting numsrc to
0), and if upon completion, numsrc holds a larger value, the operation can be repeated with a large enough buffer.
That is, on return, numsrc is always updated to be the total number of sources in the filter, while slist will hold as many source
addresses as fit, up to the minimum of the array size passed in as the original numsrc value and the total number of sources in the filter.
RETURN VALUES
returns the following values:
Successful completion.
Failure.
is set to indicate the error.
ERRORS
If fails, is set to one of the following values:
The argument s is not a valid descriptor.
This function is not supported by the socket type.
Insufficient memory is available for internal
system data structures.
The specified IP address is not a local interface address; or
the specified multicast group has not been joined.
slist is NULL when numsrc is greater than 0; or group is not an IPv4 multicast address.
AUTHOR
was developed by HP and the IETF.
SEE ALSO
socket(2), getsourcefilter(3N), setipv4sourcefilter(3N), setsourcefilter(3N), ip(7P), ip6(7P).
STANDARDS CONFORMANCE
RFC 3678
getipv4sourcefilter(3N)