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?

3 Comments

  • 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 @ https://youtu.be/CcLOj3uhb0A

    Secure Sockets – Java Sockets Tutorial 06 @ https://youtu.be/l4_JIIrMhIQ

    Sockets w/ Object Serialization and Threads – JAVA Tutorial 05 @ https://youtu.be/oDvSHdbdnig

    JAVA Sockets w/ Serializable objects – Tutorial 04 @ https://youtu.be/1up-oHjCcis

    JAVA Sockets Tutorial 03 – w/ Threads and server reply @ https://youtu.be/zjHdM_AiRak

    JAVA Sockets 02 – Tutorial w/ Threading @ https://youtu.be/Zm5fKTpovO0

    JAVA: Introduction to Sockets – Tutorial 01 @ https://youtu.be/_7bC1h2gGmA

Leave a Reply

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