Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MIDP Networking questions

 
Jorge Jordao
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm doing my final review (having exam in 4 hours), and I have some questions regarding networking in MIDP.
1) MIDP 2.0 supports the following types of connections/protocols: http, https, comm, socket (both client and server), ssl and datagram. But which are actually MANDATED by the MIDP spec ?
2) The API docs say that a UDPDatagramConnection URL has the format datagram://[host][ ort]. But doesn't this url always define the "receiving" endpoint, being the "sending" endpoint defined in the Datagram object ? If so, why would we specify a host in the url ? Can this connection type also work in both "client" and "server" modes (like socket) ?
Thanks
Jorge
 
Jorge Jordao
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about the unexpected smiley in the datagram url.
I mean "[: port]" (without the space).
Jorge
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic