2011
ServerSocket (Java Platform SE 6)
SO_REUSEADDR for Java -- how to avoid java.net.BindException (at the risk of odd TCP state)
[code]
ServerSocket x = new ServerSocket();
x.setReuseAddress(true);
x.bind(new InetSocketAddress(port));
[/code]
2009
Java 2 Platform SE v1.3.1: Class BufferedReader
(via)you want readline() for implementing HTTP in java ? here it is, not in BufferedInputStream
socket : Java Glossary
(via)interesting hints about socket programming in Java, though i don't know how much of that is accurate/up to date (e.g. graceful shutdown looks odd)
1
(3 marks)