 |
WSAGetLastError ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The WSAGetLastError function returns the error status for the last operation that failed. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
int WSAGetLastError (void);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER WSAGetLastError IN ws2_32
|
 |
 |
 |
| Parameters: |
 |
| This function has no parameters. |
 |
 |
| Return value: |
 |
| The return value indicates the error code for this thread"s last Windows Sockets operation that failed. |
 |
 |
| My comment: |
 |
| MSDN: a successful function call, or a call to WSAGetLastError, does not reset the error code. To reset the error code, use the WSASetLastError function call with iError set to zero. |
 |
 |
| Word Index links for the WSAGetLastError : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-16 22:15:33 | | Modified: | 2001-12-16 22:17:08 | Visited in last 7 days: 127 |