Source and destination port numbers (similar to TCP/IP port numbers) can be set on SMS messages. The purpose of this is to direct an SMS message at a specific application on the phone.
The MIDP 2.0 API allows a Java Midlet running on a phone to listen on a configurable port number. When an SMS arrives in on that port number the application is started automatically and the SMS content passed to the application.
A sample Provato client is shown below setting the SMS port numbers (usually the source port number is ignored).
Note when a port number is set on a message a header called a User Data Header is placed at the beginning of the text/binary message and contains the source and destination port numbers as shown below in the actual hex dump of the message sent to the phone:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum