Parameters
Signature
include module type of struct include Srt_types end
include module type of struct include Constants end
type socket_status = [ | `Broken| `Closed| `Closing| `Connected| `Connecting| `Init| `Listening| `Nonexist| `Opened
]type socket_opt = [ | `Conntimeo| `Enforced_encryption| `Messageapi| `Passphrase| `Payloadsize| `Pbkeylen| `Rcvbuf| `Rcvdata| `Rcvlatency| `Rcvsyn| `Rcvtimeo| `Reuseaddr| `Sndbuf| `Sndsyn| `Sndtimeo| `Streamid| `Transtype| `Udp_rcvbuf| `Udp_sndbuf
]type transtype = [ | `File| `Invalid| `Live
]type poll_flag = [ | `Error| `Read| `Write
]type errno = [ | `Easyncfail| `Easyncrcv| `Easyncsnd| `Eboundsock| `Econgest| `Econnfail| `Econnlost| `Econnrej| `Econnsetup| `Econnsock| `Eduplisten| `Efile| `Einvalbufferapi| `Einvalmsgapi| `Einvop| `Einvparam| `Einvpollid| `Einvrdoff| `Einvsock| `Einvwroff| `Elargemsg| `Enobuf| `Enoconn| `Enolisten| `Enoserver| `Epeererr| `Epollempty| `Erdperm| `Erdvnoserv| `Erdvunbound| `Eresource| `Esclosed| `Esecfail| `Esockfail| `Esysobj| `Ethread| `Etimeout| `Eunboundsock| `Eunknown| `Ewrperm| `Success
]val enable_lostbytecount : boolval srt_epoll_out : int64val srt_epoll_err : int64val poll_flag_of_flag : [< `Error | `Read | `Write ] -> int64