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 nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond 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