Re: tomcat-native: multicast on win32

2009-02-20 Thread Lorenz Breu
Hi Filip The java.net MulticastSocket works like a charm cheers, Lorenz - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

Re: tomcat-native: multicast on win32

2009-02-19 Thread Filip Hanik - Dev Lists
Lorenz Breu wrote: David Knox wrote: I saw something like this once. It turned out to be a firewall on XP. Just a thought. thx for the pointer, after weeks of programming and debugging and profiling and testing i completely forgot about the "simple" problems :) unfortunately, even with

Re: tomcat-native: multicast on win32

2009-02-19 Thread Lorenz Breu
David Knox wrote: > I saw something like this once. It turned out to be a firewall on XP. > Just a thought. thx for the pointer, after weeks of programming and debugging and profiling and testing i completely forgot about the "simple" problems :) unfortunately, even with all (known) forms of firew

Re: tomcat-native: multicast on win32

2009-02-16 Thread David Knox
I saw something like this once. It turned out to be a firewall on XP. Just a thought. cheers, David Knox Information System Architect +1 303-748-8906 http://pragmaticis.blogspot.com On Feb 16, 2009, at 9:16 AM, Lorenz Breu wrote: Here is the correct algo for sender: ifa = Address.inf

Re: tomcat-native: multicast on win32

2009-02-16 Thread Lorenz Breu
> 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); >

Re: tomcat-native: multicast on win32

2009-02-16 Thread Mladen Turk
Lorenz Breu wrote: Try Multicast.loopback if Multicast.join fails. Win32 is pretty weired, and not sure why the join doesn't work. I suppose the multicast group needs to exists before joining. no cigar. i first expected an APR_ENOTIMPL or even a failure, but i get APR_SUCCESS all the way... but

Re: tomcat-native: multicast on win32

2009-02-13 Thread Lorenz Breu
> > Try Multicast.loopback if Multicast.join fails. > Win32 is pretty weired, and not sure why the join doesn't work. > I suppose the multicast group needs to exists before joining. > no cigar. i first expected an APR_ENOTIMPL or even a failure, but i get APR_SUCCESS all the way... but nothing actu

Re: tomcat-native: multicast on win32

2009-02-13 Thread Mladen Turk
Lorenz Breu wrote: hi once again i have been trying to figure out why my tomcat native based mina acceptor won't join a speicified multicast group. the call goes through Multicast.join() over the tomcat native code to apr_mcast_join which in turn calls do_mcast in the apr multicast.c file. then

Re: tomcat-native: multicast on win32

2009-02-13 Thread Mladen Turk
Lorenz Breu wrote: hi once again i have been trying to figure out why my tomcat native based mina acceptor won't join a speicified multicast group. the call goes through Multicast.join() over the tomcat native code to apr_mcast_join which in turn calls do_mcast in the apr multicast.c file. then