Hi, UDP is connection less so MINA will create a session only after the first received packet. Perhaps your server could be the client ? Julien
On Wed, Oct 17, 2012 at 3:04 PM, Dever, Jeffrey <[email protected]> wrote: > We have a connection that is currently TCP but are changing it to UDP on > both the client and server sides. It looks like we could just change the > SocketConnector to a DatagramConnector and same for the Acceptor and use > all the same IoHandler, Decoder etc classes. > > This does seem to work, but I don't get some of the callbacks when I > expect them. In particular, when I build both endpoints, I don't get a > sessionCreated() called on the server when a client connects. Only when > the client sends data does that function get called from the IoHandler. In > my case the client will never send data, only the server does, but the > server can't send data since I don't have a session objects. > > Advice would be helpful.
