MCPcopy Create free account
hub / github.com/ReadyTalk/avian / connect

Method connect

classpath/java/net/Socket.java:47–47  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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;

Callers 1

SocketMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected