By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,009 Members | 1,643 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,009 IT Pros & Developers. It's quick & easy.

MIDP 2.0 and socket

P: n/a
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:

SocketConnection sc =
(SocketConnection)Connector.open("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
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.