This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MIDP Networking questions

 
Jorge Jordao
Greenhorn
Posts: 14
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic