I am using ReadMessages.java example.
I have to open an HTTP connection after reading text messages but the
connection is closed.

A strange thing in the method "doit":

          public void doIt() throws Exception
           {....
           :
           ....code for the HTTP connection...
           this.srv.readMessages(msgList, MessageClasses.ALL);
           ..

works well. If I exchange the line:

           public void doIt() throws Exception
           {....
           :
           this.srv.readMessages(msgList, MessageClasses.ALL);
           ....code for the HTTP connection...


The connection drops. What happens? Any ideas?

Thanks.

-- 
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