thank you all for the answers. what I did is #2: to have one service and one gateway.
Currently there are two threads for receiving and sending - there are also email messages in this system, so the previous architecture divided process of sending and receiving in two independent tasks; sometimes receiving emails may last a lot, and why not to send pending emails in meanwhile. Anyhow, back to sms, I have created a simple lock over these sms resources. I do not know how SMSLIB behaves (the second part of my question) and if this lock is necessary. However I will reconsider again what Josh H said (to have a single thread for receiving/sending), just to see if the email part is going to be ok. -- 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.
