Socket Get Last Error Function


socketGetLastError

socketGetLastError ()

Returns the error from the last TCP/IP function call.

Parameters:

None.

Returns:

A text string containing the description of the last error. If the last operation was successful, false is returned.

Warning

Example

socketId = socketOpen('somehost.bmc.com', 8001)
if status == false then
error = socketGetLastError()
trace('Error opening socket to: ' & error, RED)
endif

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

MainView Console Management for zEnterprise, MainView Console Automation for zEnterprise, and MainView SecureHMC 3.3.50