Hi guys
I am trying to implement some form of multicast capability in the MINA
framework. I see that you have started to implement the classes for APR
support. My first attempt therefor is to create a multicast
AprDatagramAcceptor. However the documentation of the APR stuff seems a
bit on the minimal side. I now have some questions one of you APR-guys
may be able to answer:
The receive method needs to return the SocketAddress of the sender of
the received datagram. How can I access that data using the APR API?? Do
I have to parse the received data at the byte level, or does APR somehow
prepare that information in a struct somewhere?
On a different note, why did you never implement a simple multicast
acceptor using the MultiCastSocket of java.io? Is it just a performance
thing? Thread management is done in the AbstractPollingIoAcceptor and
should also work unchanged with java.net, or am I missing something?
Regards,
Lorenz
|
|
- [Multicast] using APR transport Lorenz Breu
-