users@grizzly.java.net

Re: UDP connections supported?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 23 Oct 2007 10:24:54 -0400

Radim Kolar SF.NET wrote:
> Are UDP sessions
> client ip:port -> server ip:port mapped to different Selection keys or
> every UDP packet arriving to server port belongs to same selection key?

If I understand correctly your question, the SelectionKey is associated
with the connection, not the packet. Hence all packets from the same
connection use the same SelectionKey. It that what you ask?

Thanks!

-- Jeanfrancois

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>