Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXNetworkSocket::Connect

The Connect method establishes a connection to a specified socket. This method is similar to the Winsock connect function.

HRESULT Connect(
  LPSOCKADDR Address,
  DWORD AddressLength
);

Parameters

Address
[in] Pointer to a sockaddr structure that contains the address to which the connection is to be established.
AddressLength
[in] Length, in bytes, of the Address parameter.

Return Values

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

For an IFWXNetworkSocket interface created by a call to IFWXFirewall2::CreateSSLNetworkSocket, this method returns E_NOTIMPL.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXNetworkSocket