xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

INetClearError()

Resets the last error code of a socket.

Syntax

INetClearError( <pSocket> ) --> NIL

Arguments

<pSocket>
This is a pointer to a socket.

Return

The return value is always NIL.

Description

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.

Info

See also:INetAccept(), INetConnect(), INetDGram(), INetErrorCode(), INetErrorDesc()
Category: Internet functions , Sockets functions , xHarbour extensions
Source:vm\inet.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe