Crate libudt4_sys [] [src]

Enums

EPOLLOpt
UDTOpt
UdtStatus

Constants

EASYNCFAIL

non-blocking call failure.

EASYNCRCV

no data available for read.

EASYNCSND

no buffer available for sending.

EBOUNDSOCK

cannot execute the operation on a bound socket.

ECONNFAIL

connection failure.

ECONNLOST

connection was broken.

ECONNREJ

connection request was rejected by server.

ECONNSETUP

connection setup failure.

ECONNSOCK

cannot execute the operation on a connected socket.

EDGRAMILL

operation not supported in SOCK_DGRAM mode.

EDUPLISTEN

another socket is already listening on the same UDP port.

EFILE

file access error.

EINVOP

operation not supported.

EINVPARAM

bad parameters.

EINVRDOFF

invalid read offset.

EINVSOCK

invalid UDT socket.

EINVWROFF

invalid write offset.

ELARGEMSG

message is too large to be hold in the sending buffer.

ENOBUF

no memory space.

ENOCONN

connection does not exist.

ENOLISTEN

(accept) socket is not in listening state.

ENOSERVER

server does not exist.

EPEERERR

Error has happened at the peer side.

ERDPERM

no read permission.

ERDVNOSERV

rendezvous connection process does not allow listen and accept call.

ERDVUNBOUND

rendezvous connection setup is enabled but bind has not been called before connect.

ERESOURCE

system resource failure.

ESECFAIL

connection request was aborted due to security reasons.

ESOCKFAIL

could not create/configure UDP socket.

ESTREAMILL

operation not supported in SOCK_STREAM mode.

ETHREAD

could not create new thread.

ETIMEOUT

timeout before operation completes.

EUNBOUNDSOCK

cannot listen on unbound socket.

EWRPERM

no write permission.

INVALID_SOCK
SUCCESS

success operation.

UDT_ERROR

Functions

udt_accept
udt_bind
udt_bind2
udt_cleanup
udt_close
udt_connect
udt_epoll_add_ssock
udt_epoll_add_usock
udt_epoll_create
udt_epoll_release
udt_epoll_remove_ssock
udt_epoll_remove_usock
udt_epoll_wait2
udt_getlasterror_code
udt_getlasterror_desc
udt_getpeername
udt_getsockname
udt_getsockopt
udt_getsockstate
udt_listen
udt_recv
udt_recvmsg
udt_send
udt_sendmsg
udt_setsockopt
udt_socket
udt_startup

Type Definitions

SOCKOPT
SYSSOCKET
SYS_UDPSOCKET
UDTSOCKET