Module Srt_constants.DefSource
Parameters
Signature
Sourcetype socket_status = [ | `Init| `Opened| `Listening| `Connecting| `Connected| `Broken| `Closing| `Closed| `Nonexist
] Sourcetype socket_opt = [ | `Messageapi| `Payloadsize| `Transtype| `Rcvsyn| `Sndsyn| `Conntimeo| `Rcvtimeo| `Sndtimeo| `Reuseaddr| `Rcvbuf| `Rcvdata| `Rcvlatency| `Sndbuf| `Udp_rcvbuf| `Udp_sndbuf| `Enforced_encryption| `Pbkeylen| `Passphrase| `Streamid
] Sourcetype transtype = [ | `Live| `File| `Invalid
] Sourcetype poll_flag = [ | `Read| `Write| `Error
] Sourcetype 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
] Sourceval poll_flag_of_flag : [< `Error | `Read | `Write ] -> int64 S.const