PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Characteristics of the send operation
  • Retrieving the message on the server
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Transmits a character string to an FTP server (File Transfer Protocol) or to a RPC server (Remote Procedure Call) powered by WINDEV.
Note: To allow (or not) the use of this function on an FTP/RPC server, call NetServerOption.
ConnectFTP is int
ConnectFTP = NetConnect("148.61.125.245", FTPServer, "GUEST", "")
...
NetSendBuffer(ConnectFTP, "Coming soon")
Syntax
NetSendBuffer(<Connection Identifier> , <String to Send> [, <Additional Information>])
<Connection Identifier>: Integer
Connection identifier (returned by NetConnect).
<String to Send>: Character string (with quotes)
Text that must be sent to the server.
<Additional Information>: Optional integer
Additional information added to the string.
Remarks

Characteristics of the send operation

The string is send via the Windows message WM_COPYDATA(74).

Retrieving the message on the server

To retrieve the string sent and the additional information on the server, you must intercept the event 74 via Event (see the full example).
The _EVE.lParam variable points to a structure with the following format:
GetString is structure
        Wdata is int       // Additional information sent
        ISize is int       // Size of the string sent (Number of bytes)
        pInfo is int   // Address of the string sent
END
Components
WINDEVReports and Queries wd230com.dll
Windows Mobile wd230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment