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 with 11 additions and 22 deletions