JAVA的程序java.io.IOException出错是什么??

Running with storage root DefaultColorPhone客户端 : 192.168.0.35java.io.IOException: error 10054 during TCP read  at com.sun.midp.io.j2me.socket.Protocol.nonBufferedRead(+7) at com.sun.midp.io.BufferedConnectionAdapter.readBytes(+39) at com.sun.midp.io.BaseInputStream.read(+39) at com.sun.midp.io.BaseInputStream.read(+10) at java.io.DataInputStream.read(+7) at java.io.DataInputStream.readUnsignedShort(+4) at java.io.DataInputStream.readUTF(+6) at java.io.DataInputStream.readUTF(+4) at M_Server3.startApp(+57) at javax.microedition.midlet.MIDletProxy.startApp(+7) at com.sun.midp.midlet.Scheduler.schedule(+270) at com.sun.midp.main.Main.runLocalClass(+28) at com.sun.midp.main.Main.main(+116)Execution completed.991273 bytecodes executed697 thread switches740 classes in the system (including system classes)5206 dynamic objects allocated (144372 bytes)2 garbage collections (117168 bytes collected)

io 就是 input output 即 读 与 写。你这里是与客户端连接错误。对方可能关闭了端口。
导致你无法读取
温馨提示:内容为网友见解,仅供参考
第1个回答  2011-11-01
跟服务器失去连接
第2个回答  2011-11-01
在读取数据的过程中,网络断了
相似回答