Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

TreePuncher

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About TreePuncher

  • Rank
    Tree Puncher
  1. a live chat between multiple clients where they dont require to be on the same server.
  2. if it is locking the main thread while doing that, how come that it does not freeze my minecraft? and how would you reccomand me on doing it then?
  3. so I have a Socket and trying to get data from the socket but I only get the data when I shutdown the socket here is my code try{ Socket socket = new Socket(host,port); InputStream input = socket.getInputStream(); BufferedReader reader = new BufferedReader(new InputStreamReader((input))); String line; while ((line = reader.readLine()) != null) { System.out.printIn(line); } } so it only logs the line when I shutdown the server... but I want it to log the line everytime the socket sends something btw I run the socket in a new thread aswell otherwise it froze my
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.