Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of Luv.Os_fd.Socket
val from_unix : Unix.file_descr -> (t, Error.t) result
Attempts to convert from a Unix.file_descr
to a libuv uv_os_sock_t
. Fails on Windows if the descriptor is a HANDLE
rather than a SOCKET
.
val to_unix : t -> Unix.file_descr
Converts a uv_os_sock_t
to a Unix.file_descr
.