module Uq_datagram:sig
..end
typedatagram_type =
[ `Inet6_udp | `Inet_udp | `Unix_dgram ]
`Unix_dgram
: Datagrams over Unix domain sockets`Inet_udp
: Internet v4 UDP protocol`Inet6_udp
: Internet v6 UDP protocolclass type wrapped_datagram_socket =object
..end
wrapped_datagram_socket
allows datagrams to be sent via proxies.
class type datagram_socket_provider =object
..end
wrapped_datagram_socket
objects.
val datagram_provider : ?proxy:#datagram_socket_provider ->
datagram_type ->
Unixqueue.event_system ->
wrapped_datagram_socket Uq_engines.engine
datagram_type
,
optionally using proxy
for sending and receiving datagrams.
The socket is unconnected.
The socket is in non-blocking mode, and the close-on-exec flag is
set.