jdk/src/java.base/share/classes/sun/nio/ch/Net.java
changeset 32649 2ee9017c7597
parent 32232 8d58fc5a0349
child 34774 03b4e6dc367b
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   458                                        InetAddress remote,
   458                                        InetAddress remote,
   459                                        int remotePort)
   459                                        int remotePort)
   460         throws IOException;
   460         throws IOException;
   461 
   461 
   462 
   462 
   463     public final static int SHUT_RD = 0;
   463     public static final int SHUT_RD = 0;
   464     public final static int SHUT_WR = 1;
   464     public static final int SHUT_WR = 1;
   465     public final static int SHUT_RDWR = 2;
   465     public static final int SHUT_RDWR = 2;
   466 
   466 
   467     static native void shutdown(FileDescriptor fd, int how) throws IOException;
   467     static native void shutdown(FileDescriptor fd, int how) throws IOException;
   468 
   468 
   469     private static native int localPort(FileDescriptor fd)
   469     private static native int localPort(FileDescriptor fd)
   470         throws IOException;
   470         throws IOException;