Share via


WAP_ADDRESS

Send Feedback

This structure represents a source or destination address. It is used in WapPing calls and in several other structures.

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

Pocket PC: Pocket PC 2002 and later.
Smartphone: Smartphone 2002 and later.
OS Versions: Windows CE 3.0 and later.
Header: Wap.h.

See Also

WAP_ADDRESS_TYPE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.