Re: SCTP for Java

2008-08-27 Thread David M. Lloyd
On 08/27/2008 03:00 PM, Florian Weimer wrote: * David M. Lloyd: Doing this: UnixSocketChannel.open(String) or similar seems more correct to me. You need to do this twice, for SOCK_STREAM and SOCK_DGRAM. If you go the route of using SocketChannel.open(SocketAddress), for example, now you've

Re: hg: jdk7/jsn/jdk: 6717876: Make java.net.NetworkInterface.getIndex() public

2008-08-27 Thread Andrew John Hughes
On 27/08/2008, Mark Wielaard <[EMAIL PROTECTED]> wrote: > Hi, > > > On Mon, Aug 25, 2008 at 12:43:59PM +, [EMAIL PROTECTED] wrote: > > URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/f4289d75cd29 > > > > 6717876: Make java.net.NetworkInterface.getIndex() public > > Summary: Make get

Re: hg: jdk7/jsn/jdk: 6717876: Make java.net.NetworkInterface.getIndex() public

2008-08-27 Thread Mark Wielaard
Hi, On Mon, Aug 25, 2008 at 12:43:59PM +, [EMAIL PROTECTED] wrote: > URL: http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/f4289d75cd29 > > 6717876: Make java.net.NetworkInterface.getIndex() public > Summary: Make getIndex() and getByIndex() public. Required a name change in > native code >

Re: SCTP for Java

2008-08-27 Thread Florian Weimer
* David M. Lloyd: > Doing this: UnixSocketChannel.open(String) or similar seems more > correct to me. You need to do this twice, for SOCK_STREAM and SOCK_DGRAM. > If you go the route of using SocketChannel.open(SocketAddress), for > example, now you've got instanceof checks for each socket type.