Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

MIDP Networking questions

 
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic