On connected socket, triggers authentication.
On not connected socket, forces authentication on connection.
For incoming connection this means that connection is rejected if authentication cannot be performed.
| C# | Visual Basic |
public const SocketOptionName Authenticate
Public Const Authenticate As SocketOptionName
The optval and optlen parameters are ignored; however, Winsock implementation on Windows CE requires optlen to be at least 4 and optval to point to at least an integer datum.