xHarbour Reference Documentation > Function Reference |
Initializes the sockets subsystem.
INetInit() --> NIL
The return value is always NIL.
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.
See also: | INetCreate(), INetConnect(), INetAccept(), INetCleanup() |
Category: | Internet functions , Sockets functions , xHarbour extensions |
Source: | vm\INet.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com