Socket.ErrorAction Property

Top 

Description

How to respond to a socket error. "Abort" is the default; this causes the script to terminate with an error. ErrorAction may also be set to "Ignore"; this causes the socket to be closed (except when opening a socket which is already open or for timeouts when sending or receiving data), and the Status and StatusString properties to be set to an error code and error description.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Attributes

Type:

string

Access:

read/write

Default Value:

"Abort" ( Abort )

Valid Values:

Value

Label

"Abort"

Abort

"Ignore"

Ignore

 

Syntax

myString1 = mySocket1.ErrorAction;

 

mySocket1.ErrorAction = myString1;

 

See also

Socket Object

Interfacing with Sockets Guide