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 (
        int tcpPort,
        IAuthenticationProvider authProvider,
        bool encryption,
        string algorithm,
        bool oaep,
        bool keepAlive,
        ulong keepAliveTime,
        ulong KeepAliveInterval
) 
Parameters
tcpPort
TCP port number
authProvider
Authentication provider
encryption
Specifies if the communication sould be encrypted
algorithm
Encryption algorithm (e.G. "3DES")
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