Connects the native socket object to an address:port @param sock Native socket handler @param addr Address to connect to @param port Port to connect to @throws IOException
(/* SOCKET */long sock, long addr, short port)
| 45 | * @throws IOException |
| 46 | */ |
| 47 | private static native void connect(/* SOCKET */long sock, long addr, short port) throws IOException; |
| 48 | private static native void bind(/* SOCKET */long sock, long addr, short port) throws IOException; |
| 49 | |
| 50 | private static native void send(/* SOCKET */long sock, byte[] buffer, int start_pos, int count) throws IOException; |