Code example for ServerSocket

Methods: accept, bind, close, getLocalPort, getLocalSocketAddress, isBound, setPerformancePreferences