ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Net functions
  • Retrieving the message on the server
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
This function is kept for backward compatibility. It is recommended to use a standard FTP, SSH or SCP server. For more details, see Handling files on an FTP server and Standard FTP functions.
Triggers a Windows event on the system of an FTP (File Transfer Protocol) or RPC (Remote Procedure Call) server powered by WINDEV. This event will be sent to all the windows opened on the server.
Warning This function must be used on a client workstation.
Note: To enable or disable this function on an FTP/RPC server, use NetServerOption.
ConnectRPC is int
ConnectRPC = NetConnect("148.61.125.245", RPCServer, "GUEST", "")
...
// Coté client : envoi d'un message Windows au serveur
NetSendMessage(ConnectRPC, "MonMessage")
Syntax
NetSendMessage(<Connection ID> , <Event> [, <Parameter 1> [, <Parameter 2>]])
<Connection ID>: Integer
Identifier of the connection for the client computer (returned by NetConnect).
<Event>: Integer or Ansi chracter string
Identifier of the Windows event sent to the server windows (Windows event number or specific character string).
<Parameter 1>: Optional integer
Parameter associated with the event.
<Parameter 2>: Optional integer
Parameter associated with the event.
Remarks

Retrieving the message on the server

The Windows message sent to the server can be retrieved by intercepting the event with the Event function (see the full example).
Component: wd300com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help