|
|
|
|
|
- Example: Sending a message from the client computer to the server
Example: Sending a message from the client computer to the server The following example is used to send a Windows message from the client computer to the server and to retrieve this message on the server with Event. // On the client computer ConnectRPC is int ConnectRPC = NetConnect("148.61.125.245", RPCServer, "GUEST", "") ...
// Client side: sending a Windows message to the server NetSendMessage(ConnectRPC, "MyMessage") // On the server Event("MessageReceived", "*", "MyMessage")
// MessageReception procedure PROCEDURE MessageReception() Trace("Message received") ... NetClientSendMessage(ServerID, "Received", 0, 0)
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|