- Synchronous. These are SendMessage() and SendMessageTimeout() methods. Execution returns when the message is replied or timeout is elapsed.
- Asynchronous. This includes PostMessage(), SendMessageCallback() and SendMessageTimeoutCallback() methods. Execution returns immediately after you call the message and the message is passed to some transport for delivery.
Does MsgConnect work in synchronous or asynchronous mode?
Both modes are supported. There are two types of methods used to send the message: