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
setsourcefilter(3N) setsourcefilter(3N)
NAME
setsourcefilter() - set IP multicast source filter state
SYNOPSIS
DESCRIPTION
This function sets the multicast source filter state for an IPv4 or IPv6 multicast group on a given socket. This function can be used to
join a multicast group by specifying a filter mode of (with or without a source list), or by specifying a filter mode of with a non-empty
source list. If the multicast group is already joined, this function replaces the existing filter mode and source list with the ones pro-
vided. This function can be used to leave a multicast group by specifying a filter mode of and an empty source list.
Parameters
s Specifies the descriptor identifying the socket. The socket address family must be or and the socket type must be
interface Holds the interface index of a local interface, or zero. If set to zero, the system chooses a multicast group by matching the
multicast address only; or when joining a group, the system chooses the interface that datagrams for the group would be sent
from, based on the routing configuration.
group Points to either a sockaddr_in structure (for IPv4) or a sockaddr_in6 structure (for IPv6) that holds the IP multicast address of
the group.
grouplen Holds the size of the structure pointed to by the group argument.
fmode Identifies the filter mode. The value of this field must be either or which are defined in
numsrc Holds the number of source addresses in the slist array.
slist Points to an array of sockaddr_storage structures containing the IP addresses to include or exclude depending on the filter mode.
The sockaddr_storage structures will contain either a sockaddr_in structure (for IPv4 addresses) or a sockaddr_in6 structure (for
IPv6 addresses, including IPv4-mapped IPv6 addresses); the address family must match that of the group argument.
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.
numsrc exceeds the maximum number of sources allowed, as determined by the ndd tunable parameters and (for IPv4), or
and (for IPv6).
The address family of the
group argument is not supported.
Trying to leave an unjoined group.
group does not hold an IP multicast address; or slist contains an invalid source address; or the specified filter
mode is not valid; or interface contains an invalid interface index; or grouplen is not valid; or the address
family of a source address in the slist argument does not match the address family of the group argument.
AUTHOR
was developed by HP and the IETF.
SEE ALSO
ndd(1M), socket(2), getipv4sourcefilter(3N), getsourcefilter(3N), if_nameindex(3N), setipv4sourcefilter(3N), ip(7P), ip6(7P).
STANDARDS CONFORMANCE
RFC 3678
setsourcefilter(3N)