WAP_ADDRESS (Compact 2013)

3/26/2014

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 a 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 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

See Also

Reference

WAP Structures
WAP_ADDRESS_TYPE