Eio_unix.Pi
module type STREAM_SOCKET = sig ... end
type Eio.Resource.pi +=
| Stream_socket : ('t,
(module STREAM_SOCKET
with type t = 't),
[> `Platform of [> `Unix ] | `Socket | `Stream ])
Eio.Resource.pi
module type FLOW = sig ... end
val flow_handler :
(module FLOW with type t = 't and type tag = 'tag) ->
('t, [ `Unix_fd | 'tag Eio.Net.stream_socket_ty | Eio.File.rw_ty ])
Eio.Resource.handler
module type DATAGRAM_SOCKET = sig ... end
val datagram_handler :
(module DATAGRAM_SOCKET with type t = 't and type tag = 'tag) ->
('t, [ `Unix_fd | 'tag Eio.Net.datagram_socket_ty ]) Eio.Resource.handler
module type LISTENING_SOCKET = sig ... end
val listening_socket_handler :
(module LISTENING_SOCKET with type t = 't and type tag = 'tag) ->
('t, [ `Unix_fd | 'tag Eio.Net.listening_socket_ty ]) Eio.Resource.handler