SocketTools .NET Edition

InternetServer.ServerOptions Enumeration

Specifies the options that the InternetServer class supports.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum InternetServer.ServerOptions
[C#]
[Flags]
public enum InternetServer.ServerOptions

Remarks

The InternetServer class uses the ServerOptions enumeration to specify one or more options to be used when establishing a connection with a remote host. Multiple options may be specified if necessary.

Members

Member Name Description Value
optionNone No option specified. 0
optionDontRoute This option specifies default routing should not be used. This option should not be specified unless absolutely necessary. 2
optionKeepAlive This option specifies that packets are to be sent to the remote system when no data is being exchanged to keep the connection active. This option is only valid for stream sockets. 4
optionReuseAddress This option specifies that the local address can be reused. This option is commonly used by server applications. 8
optionNoDelay This option disables the Nagle algorithm, which buffers unacknowledged data and insures that a full-size packet can be sent to the remote host. 16
optionSecure This option specifies that a secure, encrypted connection will be established with the remote host. 4096

Requirements

Namespace: SocketTools

Assembly: SocketTools.InternetServer (in SocketTools.InternetServer.dll)

See Also

SocketTools Namespace