Hi,

On May 27, 2:17 pm, MaTa <[email protected]> wrote:
> On 27 mayo, 04:31, Sri <[email protected]> wrote:
>
> > If I send 100 messages on a gateway that is configured for both
> > inbound/outbound and while sending 10th message, I am getting an
> > inbound message what happens? Will the reading be blocked until all
> > the outbound messages or sent?
>
> There is no problem because each process have your own queue with your
> own thread.
>

Actually, there is a slight problem here and its coming from the
device (i.e. the modem).

A modem can either send or receive at a particular moment. So, the
answer to mayo's question is "reading will be blocked".

What you can do is to send your messages in batches (and leave some
idle time in between). The key is to not overload your modem with
outbound messages. You can adjust your timings in order for the
"blocking" to be of no real importance. This, of course, will reduce
your sending rate.

So you should decide between maximum sending rate and minimum response
for inbound messages.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to