Bryce,please help | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through October 29, 2003 ⬆ |
◄ ► |
Author | Message | |||
William David |
Hi,Bryce, would you please do me a favour? thanks in advance. I want to write a MMS client Program,I create a gprs connection successfully,but i can't connect to WAP gateway(standard and legal)? the following information is about MMSC : APN: cmwap UID: wap PassWD:wap Wap gateway:10.0.0.172:9201 MMSC server url: http://mmsc.monternet.com How should i use the information above in my program? a demo or source code is very appreciated. | |||
ylcp97 |
William: UID and PassWD should be NULL(space). | |||
Bryce Norwood - NowSMS Support |
You'd need to perform a WAP WSP Connect to connect to the WAP gateway. WSP goes over WTP goes over WDP which goes over UDP in the IP environment. So the end result is UDP packets to/from 10.0.0.172 on port 9201 (which is the standard WAP connection oriented port). Aside from the WAP specs, you might benefit from a line analyser like Ethereal. Use Ethereal to help decode packets sent between existing WAP client simulators and gateways to help in your understanding of the specifications. -bn | |||
William David |
Hi,Bryce, thanks for your reply! according to your words, I should create a datagram socket,not stream socket? Can i create the connection by WDP over SMS ? thanks in advance. |