Methods Summary |
---|
public static native long | accept(long sock)Accept a new connection request
|
public static native int | bind(long sock, long sa)Bind the socket to its associated port
|
public static native int | connect(long sock, long sa)Issue a connection request to a socket either on the same machine
or a different one.
|
public static native long | create(java.lang.String path, long cont)Create a socket.
|
public static native int | listen(long sock, int backlog)Listen to a bound socket for connections.
|