跪求帮助
这个代码问题怎么解决!
****欢迎光临****
1.登陆
2.退出系统
1
请输入账号
001
请输入密码
001
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2269)
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2282)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2753)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:777)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
at Supermarket.Sockets.main(Sockets.java:37)
这个代码问题怎么解决!
****欢迎光临****
1.登陆
2.退出系统
1
请输入账号
001
请输入密码
001
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2269)
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2282)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2753)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:777)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:277)
at Supermarket.Sockets.main(Sockets.java:37)