Jump to main content

##

# NET_PRES_SocketLastError Function

## C

    NET_PRES_SKT_ERROR_T NET_PRES_SocketLastError(NET_PRES_SKT_HANDLE_T handle);

## Returns

A NET_PRES_SKT_ERROR_T representing the last encountered error for this socket.

## Preconditions

A socket needs to have been opened by NET_PRES_SocketOpen.

## Parameters

Parameters | Description
--- | ---
handle | The presentation layer socket handle.