comparison src/solaris/native/sun/nio/ch/Net.c @ 10983:935758609767

Added tag jdk8u60-b28 for changeset 48e79820c798
author asaha
date Tue, 13 Oct 2015 08:18:35 -0700
parents ec1f09bc1013
children
comparison
equal deleted inserted replaced
23:16209ec9a5df 24:82966a9efea7
229 #endif 229 #endif
230 } 230 }
231 231
232 JNIEXPORT int JNICALL 232 JNIEXPORT int JNICALL
233 Java_sun_nio_ch_Net_socket0(JNIEnv *env, jclass cl, jboolean preferIPv6, 233 Java_sun_nio_ch_Net_socket0(JNIEnv *env, jclass cl, jboolean preferIPv6,
234 jboolean stream, jboolean reuse) 234 jboolean stream, jboolean reuse, jboolean ignored)
235 { 235 {
236 int fd; 236 int fd;
237 int type = (stream ? SOCK_STREAM : SOCK_DGRAM); 237 int type = (stream ? SOCK_STREAM : SOCK_DGRAM);
238 #ifdef AF_INET6 238 #ifdef AF_INET6
239 int domain = (ipv6_available() && preferIPv6) ? AF_INET6 : AF_INET; 239 int domain = (ipv6_available() && preferIPv6) ? AF_INET6 : AF_INET;