vpn_ext_run_service()

Run the VPN service.

Synopsis:

#include <vpnext/vpn_ext_api.h>
 
VPN_EXT_PUBLIC errno_t vpn_ext_run_service(vpn_ext_context context, unsigned int run_timeout)

Since:

BlackBerry 10.2.0

Arguments:

context

The VPN Extension context.

run_timeout

The timeout period (in seconds). When this timeout period elapses, if there are no client connections, this function will return. If 0 is provided, a default value is used as the timeout period.

Library:

libvpn_ext (For the qcc command, use the -l vpn_ext option to link against this library)

Description:

Returns:

EOK

Success.

EINVAL

One or more invalid parameters were specified.