On 9/29/07, yz <[EMAIL PROTECTED]> wrote: > > Is there a way to send UDP packets via MINA without using the session > abstraction imposed by DatagramConnector? Promiscuously sending to many > distinct endpoints quickly exceeds the OS file descriptor limit. The > downside to using a DatagramSocket directly is that I don't get to use > things like IoFilters. Thanks in advance for any pointers.
One way to do that is to use DatagramAcceptor. DatagramAcceptor.newSession() or DatagramSession.write(Object, SocketAddress) will do what you want. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
