Socket Server - Two Problems
The first problem is I can't get the OutputStream.println function to work. The socket connection is fine and working because I can receive data from a connected client.
PrintStream out =new PrintStream(new BufferedOutputStream(server.getOutputStream()));
out.println("example_string");
out.flush();
If anything else needed or should that work fine?
The second problem is accessing threads so that the OutputStream can be used and data is only sent to certain socket connections. I'm not sure if you can access the variables and functions inside a thread but if you can't then is there some kind of alternative?

