Static Public Member Functions | |
static int | startup () |
static int | cleanup () |
static UDTSOCKET | socket (int af, int type=SOCK_STREAM, int protocol=0) |
static int | bind (UDTSOCKET u, const sockaddr *name, int namelen) |
static int | bind (UDTSOCKET u, UDPSOCKET udpsock) |
static int | listen (UDTSOCKET u, int backlog) |
static UDTSOCKET | accept (UDTSOCKET u, sockaddr *addr, int *addrlen) |
static int | connect (UDTSOCKET u, const sockaddr *name, int namelen) |
static int | close (UDTSOCKET u) |
static int | getpeername (UDTSOCKET u, sockaddr *name, int *namelen) |
static int | getsockname (UDTSOCKET u, sockaddr *name, int *namelen) |
static int | getsockopt (UDTSOCKET u, int level, UDTOpt optname, void *optval, int *optlen) |
static int | setsockopt (UDTSOCKET u, int level, UDTOpt optname, const void *optval, int optlen) |
static int | send (UDTSOCKET u, const char *buf, int len, int flags) |
static int | recv (UDTSOCKET u, char *buf, int len, int flags) |
static int | sendmsg (UDTSOCKET u, const char *buf, int len, int ttl=-1, bool inorder=false) |
static int | recvmsg (UDTSOCKET u, char *buf, int len) |
static int64_t | sendfile (UDTSOCKET u, std::fstream &ifs, int64_t &offset, int64_t size, int block=364000) |
static int64_t | recvfile (UDTSOCKET u, std::fstream &ofs, int64_t &offset, int64_t size, int block=7280000) |
static int | select (int nfds, ud_set *readfds, ud_set *writefds, ud_set *exceptfds, const timeval *timeout) |
static int | selectEx (const std::vector< UDTSOCKET > &fds, std::vector< UDTSOCKET > *readfds, std::vector< UDTSOCKET > *writefds, std::vector< UDTSOCKET > *exceptfds, int64_t msTimeOut) |
static int | epoll_create () |
static int | epoll_add_usock (const int eid, const UDTSOCKET u, const int *events=NULL) |
static int | epoll_add_ssock (const int eid, const SYSSOCKET s, const int *events=NULL) |
static int | epoll_remove_usock (const int eid, const UDTSOCKET u) |
static int | epoll_remove_ssock (const int eid, const SYSSOCKET s) |
static int | epoll_wait (const int eid, std::set< UDTSOCKET > *readfds, std::set< UDTSOCKET > *writefds, int64_t msTimeOut, std::set< SYSSOCKET > *lrfds=NULL, std::set< SYSSOCKET > *wrfds=NULL) |
static int | epoll_release (const int eid) |
static CUDTException & | getlasterror () |
static int | perfmon (UDTSOCKET u, CPerfMon *perf, bool clear=true) |
static UDTSTATUS | getsockstate (UDTSOCKET u) |
static int | epoll_update_usock (const int eid, const UDTSOCKET u, const int *events=NULL) |
static int | epoll_verify_usock (const int eid, const UDTSOCKET u, int *events) |
static CUDT * | getUDTHandle (UDTSOCKET u) |
Static Public Attributes | |
static const UDTSOCKET | INVALID_SOCK = -1 |
static const int | ERROR = -1 |
Friends | |
class | CUDTSocket |
class | CUDTUnited |
class | CCC |
struct | CUDTComp |
class | CCache< CInfoBlock > |
class | CRendezvousQueue |
class | CSndQueue |
class | CRcvQueue |
class | CSndUList |
class | CRcvUList |
Definition at line 59 of file core.h.