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

Method bind

classpath/java/net/Socket.java:48–48  ·  view source on GitHub ↗
(/* SOCKET */long sock, long addr, short port)

Source from the content-addressed store, hash-verified

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;
51 private static native int recv(/* SOCKET */long sock, byte[] buffer, int start_pos, int count) throws IOException;

Callers

nothing calls this directly

Calls 3

getAddressMethod · 0.95
getPortMethod · 0.95
getRawAddressMethod · 0.80

Tested by

no test coverage detected