Can I establish a TCP/IP socket connection from a J2ME MIDP application (MIDlet)?
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 method.
For more information on the Generic Connection Framework and on the MIDP implementation of HTTP using this framework, please refer to the related FAQ entries on CLDC Connector and MIDP HTTP connections.