Re: [tkined] Probs with multicast

From: Carsten Zerbst (zerbst@tu-harburg.de)
Date: Thu Jul 06 2000 - 09:56:26 MET DST


I think I got the problem.

In the UdpMulticast function there are the lines (line no. 635 from
CVS):

        mreq.imr_multiaddr.s_addr = name.sin_addr.s_addr;
        name.sin_addr.s_addr = htonl(INADDR_ANY);

switching them to

        mreq.imr_multiaddr.s_addr = name.sin_addr.s_addr;
              mreq.imr_interface.s_addr = htonl(INADDR_ANY);

does the trick, no I get the right multicast behaviour.

Bye, Carsten

-- 
Dipl. Ing. Carsten Zerbst         |   See the results of the
                                  |   1. European Tcl User Meeting !
zerbst@tu-harburg.de              |  
http://www.tu-harburg.de/~skfcz   |   http://www.tu-harburg.de/skf/tcltk
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:48 MET