SMS Port on Nextel and Sprint

I'm writing a program to intercept incoming SMS messages and I'd like to know
how you know what the incoming port is. i'm using WMA and Push Registry. I want the application to wake up when it receives an SMS message and process it.

Is the port set by the carrier's SMSC. If so, what is Nextel's port number and what is Sprints port number so I can code my application appropriately.

Is there a way to accept messages from all SMS ports?

Also, is there a way that I can test this application?

SMS Port on Nextel and Sprint

I'm not sure about Nextel, but you won't really be able to use the SMS features on Sprint phones unless you have access to the Sprint SMSC.

To send a message to a particular port, you need to have direct access to the SMSC. You can't do it through Sprint's typical web page interface (messaging.sprintpcs.com).

Generally, Sprint does not grant access to their SMSC except for a handful of partners. Furthermore, attempts to petition Sprint to grant you access to their SMSC will probably be as effective as drawing blood from a stone.

P.S. You had a similar post on another thread asking about testing this feature. As you now understand, you can't test this feature without some direct cooperation from Sprint.