RTP out: robustify send error handling
For error other than congestion (EAGAIN, EWOULDBLOCK, ENOBUFS, ENOMEM), check the socket type. If the socket is a datagram, retry. Otherwise, the socket is connection-oriented and we assume the connection broke, close it.
Showing
Please register or sign in to comment