VpnChannel.GetVpnSendPacketBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.