Facebook killed the radio star. And by radio star, I mean the premise of distributed forums around the internet. And that got got by Instagram/SnapChat. And that got got by TikTok. Where the fuck is the internet we once knew?
0 Members and 1 Guest are viewing this topic.
public void run() throws IOException { ServerSocket serverSocket = null; try { serverSocket = new ServerSocket(4167); } catch (IOException e) { System.err.println("Could not listen on port."); System.exit(1); } Socket clientSocket = null; try { clientSocket = serverSocket.accept(); } catch (IOException e) { System.err.println("Accept failed."); System.exit(1); } PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true); BufferedReader in = new BufferedReader( new InputStreamReader( clientSocket.getInputStream())); String inputLine; while ((inputLine = in.readLine()) != null) { out.sendText(inputLine); } out.close(); in.close(); clientSocket.close(); serverSocket.close(); }}
[23:55:31] [william@enterprise ~/Documents/Programming/javaop2]$ svn commit -m 'Tried to fix StayConnected. Again.'Committed revision 63.StayConnected strikes back!
I'd personally do as Joe suggests
You might be right about that, Joe.