CInternetServer::SetOptions Method  
 
BOOL SetOptions(
  DWORD dwOptions  
);

Set one or more server options.

Parameters

dwOptions
An unsigned integer that specifies one or more option bit flags.

Return Value

If the method succeeds, the return value is non-zero. If the method fails, the return value is zero.

Remarks

The SetOptions method sets the server options for the class instance. For a list of the available options, see Server Option Constants. This method should only be called prior to invoking the Start method, it does not have any effect on an active server. The GetOptions method returns the options that are currently specified for the server.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cswsock11.h
Import Library: cswskv11.lib

See Also

GetOptions, Data Members