WAP_ADDRESS
A version of this page is also available for
4/8/2010
This structure represents a source or destination address. It is used in WapPing calls and in several other structures.
Syntax
typedef struct WAP_ADDRESS_tag{
WAP_ADDRESS_TYPE watAddressType;
TCHAR ptsAddress[MAX_WAP_ADDRESS_LENGTH];
} WAP_ADDRESS;
Members
- watAddressType
The address type. Possible values are defined by the WAP_ADDRESS_TYPE enumeration.
- ptsAddress
The address. On an IP bearer, this member contains the IP address in string format. On an Short Message Service (SMS) bearer, this member contains a Mobile Subscriber Integrated Services Digital Network (MSISDN) number. For more information, see the "Remarks" section of this topic.
Remarks
On an Short Message Service (SMS) bearer, the Wireless Datagram Protocol (WDP) layer treats all MSISDN addresses as an unknown type. However, if the first character in the MSISDN address is the plus sign (+), the WDP layer strips this character and treats the MSISDN address as an international number. Fully qualified international numbers are recommended to ensure the best interoperability when roaming from one mobile operator to another.
Requirements
Header | wap.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |