Partager via


WAP_ADDRESS (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

WAP_ADDRESS_TYPE

Concepts

WAP Structures