Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure is used for provider-specific data for use with the functions SmsSendMessageand SmsReadMessage. The Wireless Datagram Protocol (WDP) provider is a generic protocol that allows WDP applications to pass data through the Short Message Service (SMS) bearer.
WDP is the bottom layer of the Wireless Application Protocol (WAP) stack. It provides a consistent connection to higher layers in the protocol stack by abstracting the underlying bearers. Note that the WDP provider described in this document is simply the bearer protocol used for supporting WDP over SMS, it is not the actual WDP interface. See the WAP-200-WDP "Wireless Datagram Protocol (WDP)" specification for more detail.
The following structure provides a description of the fields encoded in the provider-specific portion of this message. The source and destination port model is analogous to the port model used in the sockets architecture.
Syntax
typedef struct wdp_provider_specific_data_tag { WDP_PROVIDER_SPECIFIC_PORT_ADDRESSING wdppsPortAddressing; WORD wDestinationPort; WORD wOriginatorPort; } WDP_PROVIDER_SPECIFIC_DATA; |
Members
- wdppsPortAddressing
-
The port addressing mode. See the WDP_PROVIDER_SPECIFIC_PORT_ADDRESSING enumeration for possible values.
- wDestinationPort
-
The port number on which the packet is delivered.
- wOriginatorPort
-
The port number on which the packet is sent.
Requirements
Header | sms.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |