Jaa


VpnChannel.GetVpnSendPacketBuffer Method

Definition

Retrieves a VpnPacketBuffer object from the send packet buffer pool to use in encapsulation and transmission of a data packet from the client network stack to the VPN server.

public:
 virtual VpnPacketBuffer ^ GetVpnSendPacketBuffer() = GetVpnSendPacketBuffer;
VpnPacketBuffer GetVpnSendPacketBuffer();
public VpnPacketBuffer GetVpnSendPacketBuffer();
function getVpnSendPacketBuffer()
Public Function GetVpnSendPacketBuffer () 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