Rfc1006Client Constructor (Int32, Rfc1006IPEndPoint, Int32)
Initializes a new instance of the Rfc1006Client class using the specified endPoint, connectionTimeout 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( int connectionTimeout, Rfc1006IPEndPoint endPoint, int aliveTime )
Parameters
connectionTimeout
Type: System.Int32
The time in milliseconds after the connection will be closed
endPoint
Type: Rfc1006LibNet.Advanced.Rfc1006IPEndPoint
The Rfc1006IPEndPoint class to use to identifier the server
aliveTime
Type: System.Int32
The timeout in milliseconds
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The endPoint is a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | The aliveTime is lower than zero. |
ArgumentOutOfRangeException | The is lower than zero. |