Bryce,please help

Bryce,please help SearchSearch
Author Message
William David
Posted on Monday, September 08, 2003 - 06:46 am:   

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
Posted on Tuesday, September 09, 2003 - 02:31 am:   

William:

UID and PassWD should be NULL(space).
Bryce Norwood - NowSMS Support
Posted on Wednesday, September 10, 2003 - 10:49 pm:   

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
Posted on Monday, September 15, 2003 - 09:13 am:   

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.