This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "MIDP Networking questions" Watch "MIDP Networking questions" New topic

MIDP Networking questions

Jorge Jordao

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) ?
Jorge Jordao

Joined: Dec 19, 2002
Posts: 14
Sorry about the unexpected smiley in the datagram url.
I mean "[: port]" (without the space).
I agree. Here's the link:
subject: MIDP Networking questions
Similar Threads
App to server connection
socket programming on 2 ports
push thourgh HTTP 1.1
Push Registry with socket or datagram connections
To know termenology