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