Creates a new instance of the TcpDuplexClientProtocolSetup class.
Declaring type: TcpDuplexClientProtocolSetup
Namespace: Zyan.Communication.Protocols.Tcp
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public TcpDuplexClientProtocolSetup (
        bool encryption,
        string algorithm,
        int maxAttempts,
        bool oaep,
        bool keepAlive,
        ulong keepAliveTime,
        ulong KeepAliveInterval
) 
Parameters
encryption
Specifies if the communication sould be encrypted
algorithm
Symmetric encryption algorithm (e.G. "3DES")
maxAttempts
Maximum number of connection attempts
oaep
Specifies if OAEP padding should be activated
keepAlive
Enables or disables TCP KeepAlive for the new connection
keepAliveTime
Time for TCP KeepAlive in Milliseconds
KeepAliveInterval
Interval for TCP KeepAlive in Milliseconds