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
) 
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