This discussion is archived
2 Replies Latest reply: Jun 14, 2013 2:18 AM by user6309181 RSS

SDK 3.2 emulator and socket problem

970702 Newbie
Currently Being Moderated
Hi, all

I use syntax

javax.microedition.io.Connector.open("socket://host:port")

to create socket connection

and it works fine until sdk 3.2, in the new emulator i get exception:
java.io.IOException: IOError in socket::open = 11004\n
- com.sun.midp.io.j2me.socket.Protocol.open0(), bci=0
- com.sun.midp.io.j2me.socket.Protocol.connect(), bci=184
- com.sun.midp.io.j2me.socket.Protocol.open(), bci=216
- com.sun.midp.io.j2me.socket.Protocol.openPrim(), bci=4
- javax.microedition.io.Connector.open(), bci=47
- javax.microedition.io.Connector.open(), bci=3
- javax.microedition.io.Connector.open(), bci=2

i think it can be problem in
..\javame-sdk\3.2\work\JavaMEPhone1\device.properties

in line
runtime.internal.security.domain: maximum

k it makes maximum security, but i tryed to remove this line and wrote minimum, but nothing helps

please, help me to fix it )

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points