Skip to main content

rt_get_error

Description

The rt_get_error function returns the error status of an RTTP socket.

Syntax:

int rt_get_error(RTEngine engine, RTSOCKET s);

Parameters:

engine: The pointer to the RTTP engine instance returned by rt_init().

s: The descriptor identifying the RTTP socket.

Return Value:

The return value is the error code.