equal
deleted
inserted
replaced
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; |