Page 1 of 1

I lost some data while sending

Posted: Tue Mar 02, 2010 4:01 am
by chaoraksa
Hi all!

What wrong with this while i send sms using client.SubmitTextAsync and i see that it got disconnect while processing.

Please help me. Why or i did something wrong?

Thanks,,
Raksa,,

Posted: Wed Mar 03, 2010 1:28 pm
by alt
please attach to event evError, it has to show you the reason of disconnection

Posted: Thu Mar 04, 2010 2:27 am
by chaoraksa
I got this

Code: Select all

2010/2/6 9:07:02 AM: SmppClient disconnected
2010/2/6 9:07:07 AM: Connection error
2010/2/6 9:07:07 AM: Exception:BeginConnect cannot be called while another asynchronous operation is in progress on the same Socket.
2010/2/6 9:07:07 AM: TargetSite:Void DoBeginConnect(System.Net.EndPoint, System.Net.SocketAddress, System.Net.LazyAsyncResult)
2010/2/6 9:07:07 AM: StackTrace:   at System.Net.Sockets.Socket.DoBeginConnect(EndPoint endPointSnapshot, SocketAddress socketAddress, LazyAsyncResult asyncResult)
   at System.Net.Sockets.Socket.BeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state)
   at ALT.SMS.SmppClient.Connect(IPEndPoint endPoint)
Thanks,,
Raksa,,

Posted: Sun Mar 14, 2010 4:13 pm
by alt
sorry for delay,
this error displays the reason of connection problem.

Do you have something before
2010/2/6 9:07:02 AM: SmppClient disconnected

?

What version do you use now?