TBlockSocket.SockCheck
TBlockSocket     

function SockCheck(SockResult: Integer): Integer;

Unit
blcksock

Description
If you "manually"call WinSock API functions, forward their return code as parameter to this function, which evaluates it, eventually calls WSAGetLastError and found error code returns and stores to LastError.


See also:
ESynapseError, LastError, LastErrorDesc