Detach your application from the stack
#include <net/if_vp.h> int vp_detach( vpid_t id );
vpack3r.lib, vpack3s.lib
The vp_detach() function detaches a VPI.
![]() |
Your application must call this function before leaving; otherwise, the TCP/IP stack may be corrupted. |
0 when the detach is successful, or an error number if an error occurs.
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |