Rfc1006Server Constructor (IPAddress, String, String, Int32)
Initializes a new instance of the Rfc1006Server 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 Rfc1006Server( IPAddress address, string remoteTSAP, string localTSAP, int aliveTime )
Parameters
address
Type: System.Net.IPAddress
The IPAddress to use to identifier the client IP.
remoteTSAP
Type: System.String
To use to identifier the client TSAP.
localTSAP
Type: System.String
To use to identifier the server TSAP.
aliveTime
Type: System.Int32
Stores the time in milliseconds when the server will disconnect if the client is not responding
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The address is a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | The is lower than zero. |