jdk/src/java.base/windows/native/libnet/DualStackPlainSocketImpl.c
changeset 41771 18c9669e76ca
parent 41214 855ac576eb77
child 43100 a7e3457672c7
equal deleted inserted replaced
41770:8a9072bd132b 41771:18c9669e76ca
    20  *
    20  *
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 #include <windows.h>
       
    26 #include <winsock2.h>
       
    27 #include "jni.h"
       
    28 #include "net_util.h"
    25 #include "net_util.h"
       
    26 
    29 #include "java_net_DualStackPlainSocketImpl.h"
    27 #include "java_net_DualStackPlainSocketImpl.h"
       
    28 #include "java_net_SocketOptions.h"
    30 
    29 
    31 #define SET_BLOCKING 0
    30 #define SET_BLOCKING 0
    32 #define SET_NONBLOCKING 1
    31 #define SET_NONBLOCKING 1
    33 
    32 
    34 static jclass isa_class;        /* java.net.InetSocketAddress */
    33 static jclass isa_class;        /* java.net.InetSocketAddress */