MIDP 2.0 and socket

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gianluca

    MIDP 2.0 and socket

    Hi,

    I have a Motorola V525 with MIDP 2.0 support.
    I'm tring to use MIDP 2.0 sockets without success. In the development
    environment(Sun ONE Studio 5), everything seems to work but
    when I download the midlet in the telephone and I launch it,
    it blocks when it tries to open the socket:

    SocketConnectio n sc =
    (SocketConnecti on)Connector.op en("socket://xxx.xxx.xxx.xxx :xx");

    without throwing any exception.
    If I open a HTTP connection (with HttpConnection class) to the same IP
    address and port, it is correctly opened (but I can't use this
    connection because the server doesn't support http).
    Any suggestion? A gprs configuration problem?

    Thanks

    Gianluca
Working...