Page 1 of 1
SubmitSpeed Not Working
Posted: Fri Mar 07, 2008 12:19 pm
by shuriz
Hi Alt,
I tried submitspeed according to my smsc but still i can't submit more then 3 messages per second, In my other application i can submit upto 50 messages per second with default SMSC speed.With your dll i tried every speed but still no difference,if i set very very high number like submitspeed=9999 then it submits 3 messages per second otherwise 1 message in 3 seconds.Please tell some solution about it.
Posted: Sat Apr 05, 2008 5:16 am
by alt
I think problem is in the Submit method. This call is synchronous, and blocks the current thread of execution until a response is received. I have to think about BeginSubmit, EndSubmit methods and SubmitCompleted event for asynchronous process.
Posted: Wed Jun 04, 2008 3:48 am
by SANSoft
Very Great Idea!!!! In my application I need to send messages asynchronously
alt wrote:I have to think about BeginSubmit, EndSubmit methods and SubmitCompleted event for asynchronous process.
When I can test it?
Posted: Wed Jun 11, 2008 7:26 am
by alt
Please try version 1.3.0.
I've added method SubmitAsync.
Posted: Sat Jun 14, 2008 12:04 pm
by stevep
Hi alt,
With the SubmitAsync, how many messages per second do you think the control is able to send now?
Steve
Posted: Sun Jun 15, 2008 4:18 pm
by alt
I didn't measure the speed. I think it depends on SMSC only.
State Object OnSubmitAsyncComplete
Posted: Sat Jul 12, 2008 11:40 am
by stevep
Hi Alt,
I thought there might have been a state object that I could pass on the SubmitAsync to match the sent message with the correct response. Is this possible to do some other way?
Steve
Posted: Tue Jul 15, 2008 10:59 am
by alt
Hi Steve,
You can use sequence number when you send SubmitSm object using SubmitAsync and check its response in the event evSubmitComplete by this number. You need to add a hash into you program where the key will be a sequence number and the value will be a SubmitSm object.