Socket.StatusString Property

Top 

Description

A text description of the status code of the socket. This property is not used unless ErrorAction is set to "Ignore". In this case, the property starts out as an empty string, indicating no error. If a socket operation causes an error, the property's value will be changed to a text description of the error which occurred. After inspecting the error string, the property should be set back to an empty string in the script - a subsequent successful socket operation will not reset the value.

 

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:

""

 

Syntax

myString1 = mySocket1.StatusString;

 

mySocket1.StatusString = myString1;

 

See also

Socket Object

Interfacing with Sockets Guide