Send Method of the IFWXSocket Interface

The Send method sends a buffer asynchronously. It performs an overlapped send operation.

Syntax

HRESULT Send(
  [in]  IFWXIOBuffer* pIOBuffer,
  [in]  IFWXIOCompletion* pIFWXIOCompletion,
  [in]  UserContextType UserData
);

Parameters

pIOBuffer

Pointer to the buffer to send.

pIFWXIOCompletion

Pointer to the IFWXIOCompletion interface that is notified when the send operation is completed. Set this parameter to NULL if notification is not required.

UserData

An opaque value to pass to the IFWXIOCompletion::CompleteAsyncIO notification method. This parameter provides a context to the notification, thereby allowing identification of each send operation.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

To receive a notification when the send operation is completed, specify an IFWXIOCompletion interface pointer in the pIFWXIOCompletion parameter.

Requirements

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXSocket
IFWXIOBuffer


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.