SocketTools .NET Edition

PopClient.PopOptions Enumeration

The connection options supported by the class.

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

[Visual Basic]
<Flags>
Public Enum PopClient.PopOptions
[C#]
[Flags]
public enum PopClient.PopOptions

Members

Member Name Description Value
None No option specified. 0
Default The same as specifying None. 0
LineBreak Message data that is received from the server is read as individual lines of text terminated by a carriage return and linefeed control sequence. This option can be useful for applications that need to use the lower level network I/O functions and must process the message text on a line-by-line basis. This option is not recommended for most applications because it can have a negative impact on performance when retrieving large messages from the server. 1
Tunnel This option specifies that a tunneled TCP connection and/or port-forwarding is being used to establish the connection to the server. This changes the behavior of the client with regards to internal checks of the destination IP address and remote port number, default capability selection and how the connection is established. This option also forces all connections to be outbound and enables the firewall compatibility features in the client. 1024
TrustedSite This option specifies the server is trusted. The server certificate will not be validated and the connection will always be permitted. This option only affects connections using the TLS protocols. 2048
Secure This option specifies the client should attempt to establish a secure connection with the server. The server must support secure connections using the TLS protocol. 4096
ExplicitTls This option specifies the client should attempt to establish a secure explicit TLS session. The initial connection to the server is not encrypted, and the client will attempt to negotiate a secure connection by sending the STLS command to the server. Some servers may require this option when connecting to the server on ports other than the default secure port of 995. 4096
ImplicitTls This option specifies the client should attempt to establish a secure implicit TLS session. The TLS handshake is initiated immediately after the connection to the server has been established. 8192
SecureFallback This option specifies the client should permit the use of less secure cipher suites for compatibility with legacy servers. If this option is specified, the client will permit connections using TLS 1.0 and cipher suites that use RC4, MD5 and SHA1. 32768
PreferIPv6 This option specifies the client should prefer the use of IPv6 if the server hostname can be resolved to both an IPv6 and IPv4 address. This option is ignored if the local system does not have IPv6 enabled, or when the hostname can only be resolved to an IPv4 address. If the server hostname can only be resolved to an IPv6 address, the client will attempt to establish a connection using IPv6 regardless if this option has been specified. 262144
FreeThread This option specifies that class methods may be called from any thread, and not only the thread that established the connection. Using this option disables certain internal safety checks that are made by the class and may result in unexpected behavior unless you ensure that access to the class instance is synchronized across multiple threads. 524288

Requirements

Namespace: SocketTools

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

Version: 12.0.3041.1380