equal
deleted
inserted
replaced
66 public Void run() { |
66 public Void run() { |
67 System.loadLibrary("net"); |
67 System.loadLibrary("net"); |
68 return null; |
68 return null; |
69 } |
69 } |
70 }); |
70 }); |
|
71 init(); |
71 } |
72 } |
72 |
73 |
73 /** |
74 /** |
74 * Creates a datagram socket |
75 * Creates a datagram socket |
75 */ |
76 */ |
360 protected abstract void disconnect0(int family); |
361 protected abstract void disconnect0(int family); |
361 |
362 |
362 protected boolean nativeConnectDisabled() { |
363 protected boolean nativeConnectDisabled() { |
363 return connectDisabled; |
364 return connectDisabled; |
364 } |
365 } |
|
366 |
|
367 native int dataAvailable(); |
|
368 private static native void init(); |
365 } |
369 } |