tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenz Breu <...@hot-shot.com>
Subject Re: tomcat-native: multicast on win32
Date Mon, 16 Feb 2009 16:16:35 GMT

> Here is the correct algo for sender:
>
> ifa = Address.info(null, Socket.APR_INET, Socket.APR_UNSPEC, 0, pool).
> mca = Address.info("234.255.255.253", Socket.APR_INET,
> Socket.APR_UNSPEC, 25000, pool);
> Socket.optSet(handle, Socket.APR_SO_REUSEADDR, 1);
> result = Socket.bind(handle, ifa);
> Multicast.join(handle, mca, ifa, 0);
>
>   
thanks again for the help. unfortunately using your code suggestion
still doesn't work. the same code on the same machine booted to linux
(ubunut heron) works fine, but when booted to winXP it doesn't, as
mentioned before. no errors reported...
i will try on a different windows machine when i get the time, maybe
it's a driver problem?? the box does send out igmp join messages and
talks with the router, so multicasting must somehow work, just not with
the APR code. i also tried contacting the APR user list, however it
seems to have been discontinued?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message