SYNOPSIS

int MGOcancel (void)

DESCRIPTION

The MGOcancel() function cancels all requests sent to the server. Any active requests are terminated; pending requests are discarded.

RETURN VALUE

Returns 1 upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).