Microsoft Internet Security and Acceleration Server 2000

IFWXNetworkSocket::Bind Method

Binds a socket to a specific address.

HRESULT Bind(
  LPSOCKADDR Address,
  INT AddressLength,
  IFWXIpFilter *pIpFilter
);

Parameters

Address
[in] Pointer to a sockaddr structure that contains the address to assign to the socket.
AddressLength
[in] Length, in bytes, of the Address parameter.
pIpFilter
[in] Pointer to the IFWXIpFilter interface. The socket that is bound by using IFWXNetworkSocket::Bind will be restricted according to that IP filter. If you specify NULL for this parameter, the socket will not be restricted.

Remarks

This method is similar to the Winsock bind function, which is described in MSDN.