src/solaris/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java

Print this page




 972         return SctpChannelImpl.receive0(fd, resultContainer, address,
 973                 length, false /*peek */);
 974     }
 975 
 976     private static int send0(int fd,
 977                              long address,
 978                              int length,
 979                              SocketAddress target,
 980                              int assocId,
 981                              int streamNumber,
 982                              boolean unordered,
 983                              int ppid)
 984             throws IOException {
 985         return SctpChannelImpl.send0(fd, address, length, target, assocId,
 986                 streamNumber, unordered, ppid);
 987     }
 988 
 989     static {
 990         Util.load();   /* loads nio & net native libraries */
 991         java.security.AccessController.doPrivileged(
 992                 new sun.security.action.LoadLibraryAction("sctp"));



 993     }


 994 }


 972         return SctpChannelImpl.receive0(fd, resultContainer, address,
 973                 length, false /*peek */);
 974     }
 975 
 976     private static int send0(int fd,
 977                              long address,
 978                              int length,
 979                              SocketAddress target,
 980                              int assocId,
 981                              int streamNumber,
 982                              boolean unordered,
 983                              int ppid)
 984             throws IOException {
 985         return SctpChannelImpl.send0(fd, address, length, target, assocId,
 986                 streamNumber, unordered, ppid);
 987     }
 988 
 989     static {
 990         Util.load();   /* loads nio & net native libraries */
 991         java.security.AccessController.doPrivileged(
 992             new java.security.PrivilegedAction<Void>() {
 993                 public Void run() {
 994                     System.loadLibrary("sctp");
 995                     return null;
 996                 }
 997             });
 998     }
 999 }