Component.Stop Method
Stops the TCP/IP component.
Namespace:
IntervalZero.MaxRT.Tcpip.Control
Assembly:
IntervalZero.MaxRT.NL2.Control (in IntervalZero.MaxRT.NL2.Control.dll) Version: 1.0.0.0 (File version: 1.0.1)
Syntax
public void Stop()
Return Value
Type: void
MaxRTNativeException is thrown if the TCP/IP Stack fails to stop properly.
Possible error codes:
| Error code | Meaning |
|---|---|
|
RT_ERROR_TCPIP_CLIENTS_EXIST |
Client applications linked to the TCP/IP component are running. The TCP/IP component cannot be stopped until its client applications are stopped. |
|
RT_ERROR_TCPIP_STOPPED |
The TCP/IP component is not running. |
|
RT_ERROR_TIMEOUT_QUERYING_TCPIP_STATUS |
An issue occurred while querying the status of the TCP/IP component. |
|
RT_ERROR_TIMEOUT_STOPPING_TCPIP |
An issue occurred while attempting to stop the TCP/IP component. |
See Also: