Creates a new instance of the TcpDuplexServerProtocolSetup class.
Declaring type: TcpDuplexServerProtocolSetup
Namespace: Zyan.Communication.Protocols.Tcp
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public TcpDuplexServerProtocolSetup (
        Versioning versioning,
        int tcpPort,
        IAuthenticationProvider authProvider,
        bool encryption,
        bool keepAlive,
        ulong keepAliveTime,
        ulong KeepAliveInterval
) 
Parameters
versioning
Versioning behavior
tcpPort
TCP port number
authProvider
Authentication provider
encryption
Specifies if the communication sould be encrypted
keepAlive
Enables or disables TCP KeepAlive for the new connection
keepAliveTime
Time for TCP KeepAlive in Milliseconds
KeepAliveInterval
Interval for TCP KeepAlive in Milliseconds