Versions in this module Expand all Collapse all v0 v0.2.0 Apr 3, 2020 Changes in this version + const EpollEnableEmpty + const EpollEnableOutputcheck + const EpollEt + const OptionCongestion + const OptionEnforcedencryption + const OptionIpv60only + const OptionKmpreannounce + const OptionKmrefreshrate + const OptionPacketfilter + const OptionPeeridletimeo + const OptionSnddropdelay + func EpollSet(epfd int, flags int) (oflags int, err error) + func EpollUwait(epfd int, fdsSet *SrtEpollEvent, fdsSize int, msTimeOut int64) (n int) + func GetEventsFromEpollEvent(fds *SrtEpollEvent) int + func GetStats(fd int, clear bool) map[string]interface + func GetsockflagInt(fd, opt int) (value int, err error) + func GetsockflagString(fd, opt int) (string, error) + func SetsockflagBool(fd, opt int, value bool) (err error) + func SetsockflagByte(fd, opt int, value byte) (err error) + func SetsockflagInt(fd, opt int, value int) (err error) + func SetsockflagInt64(fd, opt int, value int64) (err error) + func SetsockflagString(fd, opt int, s string) (err error) + type SrtEpollEvent C.SRT_EPOLL_EVENT type SrtSocket + func GetFdFromEpollEvent(fds *SrtEpollEvent) SrtSocket v0.1.0 Oct 24, 2018 Changes in this version + const APIError + const DefaultRecvfileBlock + const DefaultSendfileBlock + const EASYNCFAIL + const EASYNCRCV + const EASYNCSND + const EBOUNDSOCK + const ECONGEST + const ECONNFAIL + const ECONNLOST + const ECONNREJ + const ECONNSETUP + const ECONNSOCK + const EDUPLISTEN + const EFILE + const EINVALBUFFERAPI + const EINVALMSGAPI + const EINVOP + const EINVPARAM + const EINVPOLLID + const EINVRDOFF + const EINVSOCK + const EINVWROFF + const ELARGEMSG + const ENOBUF + const ENOCONN + const ENOLISTEN + const ENOSERVER + const EPEERERR + const ERDPERM + const ERDVNOSERV + const ERDVUNBOUND + const ERESOURCE + const ESECFAIL + const ESOCKFAIL + const ETHREAD + const ETIMEOUT + const EUNBOUNDSOCK + const EUNKNOWN + const EWRPERM + const EpollErr + const EpollIn + const EpollOut + const InvalidSock + const LogAlert + const LogDebug + const LogEmerg + const LogError + const LogFABstats + const LogFAControl + const LogFAData + const LogFAGeneral + const LogFARexmit + const LogFATsbpd + const LogFatal + const LogFlagDisableEOF + const LogFlagDisableSeverity + const LogFlagDisableThreadname + const LogFlagDisableTime + const LogInfo + const LogNote + const LogWarning + const OptionConntimeo + const OptionEvent + const OptionFc + const OptionInputbw + const OptionIptos + const OptionIpttl + const OptionIsn + const OptionKmstate + const OptionLatency + const OptionLinger + const OptionLossmaxttl + const OptionMaxbw + const OptionMessageapi + const OptionMinversion + const OptionMss + const OptionNakreport + const OptionOheadbw + const OptionPassphrase + const OptionPayloadsize + const OptionPbkeylen + const OptionPeerlatency + const OptionPeerversion + const OptionRcvbuf + const OptionRcvdata + const OptionRcvkmstate + const OptionRcvlatency + const OptionRcvsyn + const OptionRcvtimeo + const OptionRendezvous + const OptionReuseaddr + const OptionSender + const OptionSmoother + const OptionSndbuf + const OptionSnddata + const OptionSndkmstate + const OptionSndsyn + const OptionSndtimeo + const OptionState + const OptionStreamid + const OptionTlpktdrop + const OptionTranstype + const OptionTsbpddelay + const OptionTsbpdmode + const OptionUDPRcvbuf + const OptionUDPSndbuf + const OptionVersion + const SUCCESS + const SizeofSockaddrAny + const SizeofSockaddrInet4 + const SizeofSockaddrInet6 + const StatusBroken + const StatusClosed + const StatusClosing + const StatusConnected + const StatusConnecting + const StatusInit + const StatusListening + const StatusNonexist + const StatusOpened + const TypeFile + const TypeInvalid + const TypeLive + func Accept(fd int) (nfd int, sa syscall.Sockaddr, err error) + func AddLogFA(fa int) + func Bind(fd int, sa syscall.Sockaddr) (err error) + func Cleanup() (err error) + func ClearLastError() + func Close(fd int) (err error) + func Connect(fd int, sa syscall.Sockaddr) (err error) + func EpollAddUsock(epfd int, fd int, events int) (err error) + func EpollCreate() (epfd int, err error) + func EpollRemoveUsock(epfd int, fd int) (err error) + func EpollUpdateUsock(epfd int, fd int, events int) (err error) + func EpollWait(epfd int, rfds *SrtSocket, rfdslen *int, wfds *SrtSocket, wfdslen *int, ...) (n int) + func Getpeername(fd int) (sa syscall.Sockaddr, err error) + func Getsockname(fd int) (sa syscall.Sockaddr, err error) + func GetsockoptInt(fd, level, opt int) (value int, err error) + func GetsockoptString(fd, level, opt int) (string, error) + func Listen(s int, n int) (err error) + func Read(fd int, p []byte) (n int, err error) + func Sendfile(outfd int, r io.Reader, offset *int64, count int) (written int, err error) + func SetLogFlags(flags int) + func SetLogLevel(level int) + func SetNonblock(fd int, nonblocking bool) (err error) + func SetsockoptBool(fd, level, opt int, value bool) (err error) + func SetsockoptByte(fd, level, opt int, value byte) (err error) + func SetsockoptInt(fd, level, opt int, value int) (err error) + func SetsockoptInt64(fd, level, opt int, value int64) (err error) + func SetsockoptString(fd, level, opt int, s string) (err error) + func Socket(domain, typ, proto int) (fd int, err error) + func Startup() (err error) + func Write(fd int, p []byte) (n int, err error) + type Errno int + func (e Errno) Error() string + func (e Errno) Temporary() bool + func (e Errno) Timeout() bool + type SrtSocket C.SRTSOCKET