IncomingText Method
      
 

Description

Called when text message arrives from remote side.

Return Type

None  

Syntax

object.IncomingText Owner, Message

The IncomingText Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type IwodVPNNotify.
Owner A wodVPNCom object. Reference to the wodVPNCom instance that called this notification method.
MessageA String value. Text message sent by remote side.

Remarks

This method is called only if you have implemented the IwodVPNNotify interface in your application and the wodVPN1.Notification property has received a reference to an instance of your implementation.

IncomingText notification method is called when remote side uses SendText method to send us short text message. On local side you can show this text to your application, or you can use it to send/receive various short commands between wodVPN peers, so that you can make certain custom actions.

If you want to send non-text (binary) data, use SendData method instead.