Rfc1006Client Constructor (Int32, IPAddress, Int32, String, String, Int32)

Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, connectionTimeout, localTSAP and aliveTime information.

Namespace: Rfc1006LibNet.Advanced
Assembly:  Rfc1006LibNet.Advanced (in Rfc1006LibNet.Advanced.dll) Version: 1.0.2.0 (1.0.5.3)

C#

public Rfc1006Client(
	int connectionTimeout,
	IPAddress address,
	int port,
	string remoteTSAP,
	string localTSAP,
	int aliveTime
)


Parameters

connectionTimeout
Type: System.Int32
The time in milliseconds after the connection will be closed
address
Type: System.Net.IPAddress
The IPAddress to use to identifier the server IP.
port
Type: System.Int32
To use to identifier the server port
remoteTSAP
Type: System.String
To use to identifier the server TSAP.
localTSAP
Type: System.String
To use to identifier the client TSAP.
aliveTime
Type: System.Int32
The timeout in milliseconds

Exception Condition
ArgumentNullException The address is a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeException The aliveTime is lower than zero.
ArgumentOutOfRangeException The is lower than zero.


Reference