Share via


VpnChannel.GetVpnReceivePacketBuffer Method

Definition

Requests a VpnPacketBuffer object from the receive packet buffer pool to be used in the decapsulation or injection of a received packet from the VPN server into the local network stack

public:
 virtual VpnPacketBuffer ^ GetVpnReceivePacketBuffer() = GetVpnReceivePacketBuffer;
VpnPacketBuffer GetVpnReceivePacketBuffer();
public VpnPacketBuffer GetVpnReceivePacketBuffer();
function getVpnReceivePacketBuffer()
Public Function GetVpnReceivePacketBuffer () As VpnPacketBuffer

Returns

The requested packet buffer object.

Windows requirements

App capabilities
networkingVpnProvider

Remarks

Any IVpnPacketBuffer object requested by the plugin must eventually be returned to the VPN platform (i.e. via IVpnPlugIn.Encapsulate or IVpnPlugin.Decapsulate). Otherwise the plugin may be unable to request new buffers until the outstanding buffers have been returned.

Applies to