什么意思?
***服務器已經啟動,等待客戶端鏈接....***
Exception in thread "Thread-0" java.lang.NullPointerException
at java中的Socket應用.ServerThread.run(ServerThread.java:28)
***服務器已經啟動,等待客戶端鏈接....***
Exception in thread "Thread-0" java.lang.NullPointerException
at java中的Socket應用.ServerThread.run(ServerThread.java:28)
2016-10-27
舉報
2016-11-20
方法返回一個inputstream對象用于接受socket的數據
2016-10-27
is = socket.getInputStream();是這個代碼