ListenForIncomingMessages (Property)
[Previous] [Main] [Next]

Syntax:
   object.ListenForIncomingMessages = Listen
   Boolean Listen = object.ListenForIncomingMessages

Description:
Set or get the flag to indicate whether the PSWinCom Gateway Client Component should listen for incoming messages delivered from the Gateway or not.

It is possible to use the PSWinCom Gateway Client Component to handle incoming SMS messages delivered from cellular phones through the Gateway. By specifying a LocalPort number to listen to and setting ListenForIncomingMessages to True the Gateway will be able to deliver incoming messages directly to your application. All incoming messages will be delivered as an IncomingMessage event giving you the text content and senders number.

The use of incoming messages requires a separate agreement with your Gateway operator. Also be aware of firewall/proxy restriction in your network.

See also:
LocalPort, IncomingMessage