Rfc1006Client Constructor (String, Byte[], Byte[], Int32)
Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and aliveTime information.
Namespace:
Rfc1006LibNet.Advanced
Assembly:
Rfc1006LibNet.Advanced (in Rfc1006LibNet.Advanced.dll) Version: 1.0.2.0 (1.0.5.3)
Syntax
C#
public Rfc1006Client( string address, byte[] remoteTSAP, byte[] localTSAP, int aliveTime )
Parameters
address
Type: System.String
To use to identifier the server IP.
remoteTSAP
Type: System.Byte[]
To use to identifier the server TSAP.
localTSAP
Type: System.Byte[]
To use to identifier the client TSAP.
aliveTime
Type: System.Int32
The timeout in milliseconds
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The address is a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | The aliveTime is lower than zero. |