package srt

  1. Overview
  2. Docs
module Constants : sig ... end
include module type of struct include Constants end
type socket_status = [
  1. | `Broken
  2. | `Closed
  3. | `Closing
  4. | `Connected
  5. | `Connecting
  6. | `Init
  7. | `Listening
  8. | `Nonexist
  9. | `Opened
]
type socket_opt = [
  1. | `Conntimeo
  2. | `Enforced_encryption
  3. | `Messageapi
  4. | `Payloadsize
  5. | `Rcvbuf
  6. | `Rcvsyn
  7. | `Rcvtimeo
  8. | `Reuseaddr
  9. | `Sndbuf
  10. | `Sndsyn
  11. | `Sndtimeo
  12. | `Transtype
  13. | `Udp_rcvbuf
  14. | `Udp_sndbuf
]
type transtype = [
  1. | `File
  2. | `Invalid
  3. | `Live
]
type poll_flag = [
  1. | `Error
  2. | `Read
  3. | `Write
]
type errno = [
  1. | `Easyncfail
  2. | `Easyncrcv
  3. | `Easyncsnd
  4. | `Eboundsock
  5. | `Econgest
  6. | `Econnfail
  7. | `Econnlost
  8. | `Econnrej
  9. | `Econnsetup
  10. | `Econnsock
  11. | `Eduplisten
  12. | `Efile
  13. | `Einvalbufferapi
  14. | `Einvalmsgapi
  15. | `Einvop
  16. | `Einvparam
  17. | `Einvpollid
  18. | `Einvrdoff
  19. | `Einvsock
  20. | `Einvwroff
  21. | `Elargemsg
  22. | `Enobuf
  23. | `Enoconn
  24. | `Enolisten
  25. | `Enoserver
  26. | `Epeererr
  27. | `Epollempty
  28. | `Erdperm
  29. | `Erdvnoserv
  30. | `Erdvunbound
  31. | `Eresource
  32. | `Esclosed
  33. | `Esecfail
  34. | `Esockfail
  35. | `Esysobj
  36. | `Ethread
  37. | `Etimeout
  38. | `Eunboundsock
  39. | `Eunknown
  40. | `Ewrperm
  41. | `Success
]
val enable_lostbytecount : bool
val socket_status : socket_status Ctypes_static.typ
val socket_opt : socket_opt Ctypes_static.typ
val srtt_live : int64
val srtt_file : int64
val srtt_invalid : int64
val log_crit : int
val log_err : int
val log_warning : int
val log_notice : int
val log_debug : int
val srt_epoll_in : int64
val srt_epoll_out : int64
val srt_epoll_err : int64
val poll_flag_of_flag : [< `Error | `Read | `Write ] -> int64
module Def (S : Cstubs.Types.TYPE) : sig ... end
OCaml

Innovation. Community. Security.