equal
deleted
inserted
replaced
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 <malloc.h> |
25 |
26 |
26 #include <windows.h> |
27 #include "net_util.h" |
27 #include <winsock2.h> |
|
28 #include <ctype.h> |
|
29 #include <stdio.h> |
|
30 #include <stdlib.h> |
|
31 #include <malloc.h> |
|
32 #include <sys/types.h> |
|
33 |
28 |
34 #include "java_net_SocketInputStream.h" |
29 #include "java_net_SocketInputStream.h" |
35 |
|
36 #include "net_util.h" |
|
37 #include "jni_util.h" |
|
38 |
30 |
39 /************************************************************************* |
31 /************************************************************************* |
40 * SocketInputStream |
32 * SocketInputStream |
41 */ |
33 */ |
42 |
|
43 static jfieldID IO_fd_fdID; |
34 static jfieldID IO_fd_fdID; |
44 |
35 |
45 /* |
36 /* |
46 * Class: java_net_SocketInputStream |
37 * Class: java_net_SocketInputStream |
47 * Method: init |
38 * Method: init |