xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

INetGetPeriodCallback()

Queries a callback associated with a socket.

Syntax

INetGetPeriodCallback( <pSocket> ) --> aExecutableArray

Arguments

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

Return

The function returns the callback information associated with <pSocket>, or NIL if no callback is set.

Description

This function queries the callback information from a socket and, if present, returns it as an executable array. The callback must be previously set with INetSetPeriodCallback().

Info

See also:HB_ExecFromArray(), INetClearPeriodCallback(), 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