GeeCON Prague 2014*
The moose likes Product and Other Certifications and the fly likes MIDP Networking questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "MIDP Networking questions" Watch "MIDP Networking questions" New topic
Author

MIDP Networking questions

Jorge Jordao
Greenhorn

Joined: Dec 19, 2002
Posts: 14
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

Joined: Dec 19, 2002
Posts: 14
Sorry about the unexpected smiley in the datagram url.
I mean "[: port]" (without the space).
Jorge
 
GeeCON Prague 2014
 
subject: MIDP Networking questions