Mark Webb wrote:
If I want to have a program that received UDP packets.  Do I need to
write a protocol filter in order to make sure my
IoHandler.messageReceived() method only gets one packet at a time?

Thanks


I took a look at it and my guess would be that only packet at a time is read. The relevant code seems to be
DatagramConnectorDelegate.readSession( DatagramSessionImpl session )

and the API description of

DatagramChannel.read( ByteBuffer dst )

-Eero

Reply via email to