[Previous] [Contents] [Index] [Next]

vp_detach()

Detach your application from the stack

Synopsis:

#include <net/if_vp.h>

int vp_detach( vpid_t id );

Library:

vpack3r.lib, vpack3s.lib

Description:

The vp_detach() function detaches a VPI.

id
A virtual packet ID returned by vp_attach().

WARNING: Your application must call this function before leaving; otherwise, the TCP/IP stack may be corrupted.

Returns:

0 when the detach is successful, or an error number if an error occurs.

Errors:

EINVAL
Invalid ID id.

Classification:

QNX 4

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

vp_attach()


[Previous] [Contents] [Index] [Next]