A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



WSAGetLastError

The Windows Sockets WSAGetLastError function gets the error status for the last operation that failed.

VB4-32,5,6
Declare Function WSAGetLastError Lib "WSOCK32" () As Long

Operating Systems Supported
Requires Windows Sockets 1.1 or later

Library
Wsock32

Return Values
The return value indicates the error code for this thread’s last Windows Sockets operation that failed.

Last update: 07 April 2006