xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

INetGetTimeout()

Queries a timout value for a socket.

Syntax

INetGetTimeout( <pSocket> ) --> nMilliSecs

Arguments

<pSocket>
This is a pointer to a socket as returned by INetConnect() or INetAccept().

Return

The function returns a timeout value in milliseconds as a numeric value. If not set, -1 is returned. This value stands for "infinity".

Description

Function INetGetTimeout() is used to query a timeout value set with INetSetTimeout() for a socket.

Info

See also:INetClearTimeout(), INetCreate(), INetGetTimeout(), INetSetPeriodCallback(), INetSetTimeout()
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