public static int SocketRecv(C.Socket *sock, C.Buffer *bufferArray, int bufferCount, C.Endpoint *endpoint) { return(C.socklynx_socket_recv(sock, bufferArray, bufferCount, endpoint)); }
public static bool SocketClose(C.Socket *sock) { return(C.socklynx_socket_close(sock) == SL_OK); }
public static bool SocketNonBlocking(C.Socket *sock, bool enabled) { return(C.socklynx_socket_nonblocking(sock, enabled ? 1 : 0) == SL_OK); }
public static bool SocketOpen(C.Socket *sock) { return(C.socklynx_socket_open(sock) == SL_OK); }