WDP_PROVIDER_SPECIFIC_DATA
This structure is used for provider-specific data for use with the functions SmsSendMessage and 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.
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
Smartphone: Smartphone 2002 and later
Pocket PC: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: sms.h
Library: sms.lib
See Also
Short Message Service Structures | WDP_PROVIDER_SPECIFIC_PORT_ADDRESSING
Send Feedback on this topic to the authors