xHarbour Reference Documentation > Function Reference |
Sends all data to a socket.
INetSendAll( <pSocket>, <cData>, [<nBytes>] ) --> nBytesSent
The function returns a numeric value indicating the number of bytes sent to the socket. If the return value is smaller than <nBytes>, either no more bytes can be transmitted, or a network error ocurred. This can be identified using function INetErrorCode().
Function INetSendAll() works exactly like INetSend(), except for not returning until all data is sent, the socket is prematurely closed, or a network error occurs, whichever comes first.
See also: | INetAccept(), INetConnect(), INetErrorCode(), INetRecv(), INetRecvAll(), INetRecvLine(), INetSend() |
Category: | Internet functions , Sockets functions , xHarbour extensions |
Source: | vm\INet.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com