xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

INetCreate()

Creates a raw, unconnected socket.

Syntax

INetCreate() --> pSocket

Return

The functions returns a pointer to an unconnected socket.

Description

INetCreate() creates the raw data of a socket, that can be configured further before establishing a connection on the socket with INetAccept() or INetConnect(). For example, a timeout value or callback information can be added to a socket before it is passed to a connection function.

Info

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