CoroutineSrtSocket
A coroutine-based SRT socket.
Types
Properties
Gets the time when SRT socket was open to establish a connection.
Flow of incoming sockets. It is a hook before returning from accept. Reject an incoming connection by throwing an exception. Only for server sockets.
Retrieves the remote InetAddress to which the socket is connected.
Tests if the SRT socket is connected.
Extracts the InetAddress to which the socket was bound.
Retrieves the remote InetSocketAddress to which the SRT socket is connected.
Sets/gets the value of the SockOpt.RCVBUF option for this SRT socket.
Set/get detailed reason for a failed connection attempt.
Tests if SockOpt.REUSEADDR is enabled.
Sets/gets the value of the SockOpt.SNDBUF option for this SRT socket.
Extracts the InetSocketAddress to which the socket was bound.
Gets the current status of the socket.
Returns setting for SockOpt.LINGER.
Functions
Accepts a pending connection.
Binds the socket to a local address.
Binds the socket to a local address.
Connects a socket to a specified address and port.
Connects a socket to an URL.
Connects a socket to a specified address and port.
Gets the value of the given socket option.
Performs a rendezvous connection.
Performs a rendezvous connection.
Sends a message to a remote party.
Sets the value of the given socket option.