Ethereal-users: [Ethereal-users] about ipv6 multicast

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Penny <ypguo@xxxxxxxxxxx>
Date: Thu, 9 May 2002 19:51:16 +0800
I wrote a ipv6 multicast program in order to add membership to some multicast group.
The following code has some problem:
" if (bind(s, (struct sockaddr *)&srv, sizeof(srv)) < 0) {
    perror("bind");
    return 1;
  }"

srv is sockaddr_in6 , when it's sin6_addr is ff01::1 or ff05::1, the program works well. when it's sin6_addr is ff02::1, error "bind:invalid argument" is thrown.
Can you tell me what is the problem?Thank you