| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Resets the last error code of a socket.
INetClearError( <pSocket> ) --> NIL
The return value is always NIL.
Function INetClearError() resets the last error code on a socket to zero and voids the last error description. This makes sure that an error can be detected when a call to a next sockets function fails.
| See also: | INetAccept(), INetConnect(), INetDGram(), INetErrorCode(), INetErrorDesc() |
| Category: | Internet functions , Sockets functions , xHarbour extensions |
| Source: | vm\inet.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com