HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide

RTSP_EINVAL
The pckt argument does not contain a SOCK_STREAM socket.
The conn argument is NULL.
The size argument is required and is NULL.
The channel argument is required and is NULL.
RTSP_ENOBUFS
No buffer space to accommodate the received data.
RTSP_ENOMEM
Dynamic memory allocation failure.
RTSP_ECONNABORTED
The RTSP connection was closed by the peer.
RTSP_ESYS
System call error. Global variable errno contains the specific error number.
For more information, type man 3 rtsp_recv at the HP-UX command prompt.
rtsp_close
You can use rtsp_close to close an RTSP connection.
The declaration of rtsp_close is as follows:
#include <rtsp.h>
rtsp_error_t rtsp_close(
rtsp_conn_t *conn
);
The rtsp_close function closes the transport connection to the peer associated
with the RTSP connection and frees the dynamically allocated memory for the
rtsp_conn_t structure and its members. The conn argument points to a
rtsp_conn_t structure obtained by calling either rtsp_open or
rtsp_create_conn.
Upon success, rtsp_close returns RTSP_SUCCESS; upon failure, it returns one
of the following error values:
RTSP_EINVAL
The conn argument is NULL.
RTSP_ESYS
System call error. Global variable errno contains the specific error number.
For more information, type man 3 rtsp_close at the HP-UX command prompt.
RTSP Library 35