xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

INetErrorDesc()

Returns a descriptive error message

Syntax

INetErrorDesc( <pSocket> ) --> cErrorMessage

Arguments

<pSocket>
This is a pointer to a socket.

Return

The function retunrs a character string holding an error message. If no error occurred, the return value is a null string ("").

Description

Function INetErrorDesc() is used to obtain the description of an error when a socket function fails. It translates the numeric error code into a human readable message.

Info

See also:INetAccept(), INetConnect(), INetDGram(), INetErrorCode()
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