Creates a new instance of the Connection class.
Declaring type: Connection
Namespace: Zyan.Communication.Protocols.Tcp.DuplexChannel
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
protected Connection (
        string address,
        TcpExChannel channel,
        bool keepAlive,
        ulong keepAliveTime,
        ulong KeepAliveInterval,
        short maxRetries,
        int retryDelay
) 
Parameters
address
Address (IP oder DNS based)
channel
Remoting channel
keepAlive
Enables or disables TCP KeepAlive for the new connection
keepAliveTime
Time for TCP KeepAlive in Milliseconds
KeepAliveInterval
Interval for TCP KeepAlive in Milliseconds
maxRetries
Maximum number of connection retry attempts
retryDelay
Delay after connection retry in milliseconds