TIpClient() > Communication |
|
|
oTIpClient:write()
Writes data to the internet connection.
Syntax
:write( <cData>, [<nBytes>], [<lCommit>] ) --> nBytesWritten
Arguments
- <cData>
- This is a character string holding the data to transmit to the server.
- <nBytes>
- Optionally, the number of bytes to transmit can be specified as a numeric value.
<nBytes> defaults to Len(<cData>).
- <lCommit>
- If this parameter is set to .T. (true), method :commit() is called when all
data is transferred. The default is .F. (false).
Description
Method :write() transmits the specified character string <cData> from the local station to the server
and returns the number of bytes transmitted as a numeric value. Note that writing data requires a successful
call to the :open() method for establishing the
internet connection.
Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe