Brew MP 1.0.2
This function returns the last error that occurred with the given Socket.The
value returned depends on the most recently called function. The documentation for
each function describes what this function can return when called right after that
int ISOCKET_GetLastError(ISocket * pISocket)
The most recently occurred error.