Selector API [was Re: Java API for SCTP]

Alan Bateman Alan.Bateman at Sun.COM
Sun May 3 01:23:04 PDT 2009


Marc Petit-Huguenin wrote:
> :
> DCCP would be closer to ServerChannel/SocketServerChannel as DCCP
> sockets use the same connect/accept mechanism.  But after this it
> would be closer to DatagramChannel for sending/receiving.
>   
If the channel is connected then the SocketChannel API might be okay 
because/O with a connected DatagramChannel is identical to I/O with a 
SocketChannel.

-Alan.




More information about the nio-discuss mailing list