rt_accept
Description
The rt_accept function is used to accept an incoming RTTP connection request.
Syntax:
int rt_accept(RTEngine engine, RTSOCKET s);
Parameters:
engine:
The pointer to the RTTP engine instance returned by rt_init().
s:
The RTTP socket descriptor returned by the rt_incoming_packet function.
Return Value:
Returns 0 on success; returns a negative error code on failure.