Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help Help! Feel confused to Sun's specification? about http and TCP, UDP

 
davide chen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,Sun says: MIDP1.0 only supports HTTP, it doesn't support TCP and UDP.
In the MIDP 2.0, the manufactory can decide if it supports TCP or UDP.

I feel very confused about that. I think the HTTP is upper level protocal, it based on the TCP or UDP.

Why sun say MIDP can support HTTP without the support of TCP and UDP?

It that means HTTP can be support by other tranmission protocal instead of TCP and UDP? The manufactory can design their own protocal and use his own transmission protocol to support HTTP?

If this is ture, can you introduce some tramssion protocals to me?

Thank you very much!

best reagards!
 
Michelle de Beer
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The phone supports TCP, but the device manufacturer can opt not to give you support for reading and writing to and from the sockets of your choice (TCP and UDP) by not implementing some of the interfaces in the javax.microedition.io package, such as SocketConnection, ServerSocketConnection, UDPDatagramConnection, etc.

At least thats the way I understand it.

Best,
// Michelle
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic