GetLastSocketErrorMessage (open)

Get the message for the last error on a TCP/IP socket. Also returns SSL error messages (which are not reflected in the error code)

Syntax

LOADLIB "wh::internet/tcpip.whlib";

STRING FUNCTION GetLastSocketErrorMessage(INTEGER connectionid)

Parameters

INTEGER connectionid

Integer connectionid to use

Return value

STRING

Message for the last error at this connection (if exists)