Use the setSrcPort() and setDstPort() message methods before you send
out your message. Set the first to 0 (zero) and the second to the port
your midlet listens to.

On May 13, 10:22 pm, Sri <[email protected]> wrote:
> How do I send SMS to a SMS server that is listening to a specific
> port? For example, I have a J2ME midlet listening on a port for
> receiving sms messages. I am getting error sending it through. I am
> using smsnumber + ":" + portnumber.
--~--~---------~--~----~------------~-------~--~----~
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