Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I establish a TCP/IP socket connection from a J2ME MIDP application (MIDlet)?

0
Posted

Can I establish a TCP/IP socket connection from a J2ME MIDP application (MIDlet)?

0

Location: http://www.jguru.com/faq/view.jsp?EID=269947 Created: Dec 5, 2000 Modified: 2000-12-05 16:05:25.048 Author: Bill Day (http://www.jguru.com/guru/viewbio.jsp?EID=135825) Question originally posed by masa yana (http://www.jguru.com/guru/viewbio.jsp?EID=230989 The MIDP specification requires any sort of protocol or connection support to be implemented using the J2ME CLDC Generic Connection Framework. The MIDP spec specifically requires all implementations to support HTTP. This HTTP support may or may not be over TCP/IP; HTTP can optionally be implemented over any protocol stack such as the WAP stack or NTT DoCoMo’s proprietary imode stack, so long as the implementation complies with the MIDP spec’s requirements for HTTP client connections. Because the MIDP specification does not require TCP/IP socket support, not all MIDP-based devices may provide sockets. If they do, however, the socket support must be available via the Generic Connection Framework’s Connector.open() static meth

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123