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,
        bool keepAlive,
        ulong keepAliveTime,
        ulong KeepAliveInterval
) 
Parameters
encryption
Specifies if the communication sould be encrypted
algorithm
Symmetric encryption algorithm (e.G. "3DES")
keepAlive
Enables or disables TCP KeepAlive for the new connection
keepAliveTime
Time for TCP KeepAlive in Milliseconds
KeepAliveInterval
Interval for TCP KeepAlive in Milliseconds