xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

INetInit()

Initializes the sockets subsystem.

Syntax

INetInit() --> NIL

Return

The return value is always NIL.

Description

Function INetInit() must be called to initialize the sockets subsystem and allocate all required memory resources. It is recommended to place one call to INetInit() at the begin of a program that uses sockets. After the sockets subsystem is initialized, function INetConnect() or INetAccept() can be called to establish a sockets connection.

Note:  call function INetCleanup() to release memory resources for the sockets subsystem, when sockets are no longer needed.

Info

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