equal
deleted
inserted
replaced
174 accept = new Thread(this::accept); |
174 accept = new Thread(this::accept); |
175 accept.setDaemon(true); |
175 accept.setDaemon(true); |
176 } |
176 } |
177 |
177 |
178 void start() throws IOException { |
178 void start() throws IOException { |
|
179 ss.setReuseAddress(false); |
179 ss.bind(new InetSocketAddress(0)); |
180 ss.bind(new InetSocketAddress(0)); |
180 accept.start(); |
181 accept.start(); |
181 } |
182 } |
182 |
183 |
183 // Pipe the input stream to the output stream. |
184 // Pipe the input stream to the output stream. |