# LastSockErr

## Description

Returns the last socket error that occurred

## Remarks

Returns the last socket error that occurred. Note that once the error is retrieved, the property is cleared. Use this property to catch errors when calling methods like the ConnectSock method, or the AddListener method. The error numbers returned by this property are standard Winsock errors.

## Data Type

LONG
