package srt

  1. Overview
  2. Docs

Parameters

module S : Cstubs.Types.TYPE

Signature

type socket_status = [
  1. | `Init
  2. | `Opened
  3. | `Listening
  4. | `Connecting
  5. | `Connected
  6. | `Broken
  7. | `Closing
  8. | `Closed
  9. | `Nonexist
]
type socket_opt = [
  1. | `Messageapi
  2. | `Payloadsize
  3. | `Transtype
  4. | `Rcvsyn
  5. | `Sndsyn
  6. | `Conntimeo
  7. | `Rcvtimeo
  8. | `Sndtimeo
  9. | `Reuseaddr
  10. | `Rcvbuf
  11. | `Sndbuf
  12. | `Udp_rcvbuf
  13. | `Udp_sndbuf
  14. | `Enforced_encryption
]
type transtype = [
  1. | `Live
  2. | `File
  3. | `Invalid
]
type poll_flag = [
  1. | `Read
  2. | `Write
  3. | `Error
]
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 S.const
val socket_status : socket_status S.typ
val socket_opt : socket_opt S.typ
val srtt_live : int64 S.const
val srtt_file : int64 S.const
val srtt_invalid : int64 S.const
val transtype : transtype S.typ
val log_crit : int S.const
val log_err : int S.const
val log_warning : int S.const
val log_notice : int S.const
val log_debug : int S.const
val errno : errno S.typ
val srt_epoll_in : int64 S.const
val srt_epoll_out : int64 S.const
val srt_epoll_err : int64 S.const
val poll_flag_of_flag : [< `Error | `Read | `Write ] -> int64 S.const
val poll_flag : poll_flag S.typ
OCaml

Innovation. Community. Security.