UDT Reference: Functions

UDT Socket Functions

The UDT socket functions are contained in the UDT namespace. The methods are listed in the table below:

Method Fuctionality
accept accept a connection.
bind assign a local name to an unnamed udt socket.
cleanup release the complete UDT library.
close close the opened UDT entity and shutdown the connection.
connect connect to the server or the peer side.
epoll watch for a group of UDT and system sockets for IO events.
getlasterror retrieve last UDT error in the current thread.
getpeername read the address of the peer side of the connection
getsockname read the local address of the UDT socket.
getsockopt read UDT options.
listen enable UDT into listening state and is ready for connection request.
perfmon monitor internal protocol parameters and udt performance.
recv receive data.
recvfile receive data into a file.
recvmsg receive a message.
select wait for a number of UDT sockets to change status.
send send data.
sendfile send a file.
sendmsg send a message.
setsockopt configure UDT options.
socket create a new UDT socket.
startup initialize the UDT library.
See Also

UDT Socket Structures