JAVA Sockets Tutorial [03] – w/ Threads and server reply
Articles,  Blog

JAVA Sockets Tutorial [03] – w/ Threads and server reply

What is an example usage of BufferedReader, PrintWriter, Socket, and ServerSocket JAVA classes? Can JAVA objects be serialized, sent, and received between Client and Server using BufferedReader and PrintWriter? How to read from the command prompt in JAVA? Why use the JAVA PrintWriter class?


  • shawngreene1

    For multiple clients you would want to create another client instance for the Server object.. In theory it would work like Client client = new Client(); and for another one you'd have Client clien2 = new Client();.. And if you're smart you'd have all client-related objects prepped inside the class and you're set

  • zaneacademy

    Peer to Peer (P2P) Chat w/ JAVA @

    Secure Sockets – Java Sockets Tutorial 06 @

    Sockets w/ Object Serialization and Threads – JAVA Tutorial 05 @

    JAVA Sockets w/ Serializable objects – Tutorial 04 @

    JAVA Sockets Tutorial 03 – w/ Threads and server reply @

    JAVA Sockets 02 – Tutorial w/ Threading @

    JAVA: Introduction to Sockets – Tutorial 01 @

Leave a Reply

Your email address will not be published. Required fields are marked *