Difference between SocketHandlerThread and SocketHandlerRunner
Closed this issue · 3 comments
lincolnneu commented
SocketHandlerThread does not close socket but SocketHandlerRunnable does. Is this the only difference?
gortonator commented
line 45 SocketHandlerThread?
lincolnneu commented
Did not notice there is another SocketHandlerThread in the solution. I was comparing to https://github.com/gortonator/bsds-6650/blob/master/code/week-3/SocketHandlerThread.java
It seems that the difference of SocketHandlerThread and SocketHandlerRunnable is the first one extends Thread while the second one implements Runnable. They are equivalent , right?
gortonator commented
yup