#024 Java Networking
Lab Exercises
Exercise 1: Write client and server (30 minutes)
Exercise 2: Write Multicast client and server (30 minutes)
Homework Exercise (for people who are taking Sang Shin's "Java Programming online course")
Exercise 1: Writing Client and Server
In this exercise, you are going to build and run a simple Hello server and client using Networking API.
Build and run the server side code
Build and run the client side code
(1.1) Build and run the server side code
0. Start NetBeans IDE if you have not done so yet.
1. Create a new NetBeans project
Select File->New Project (Ctrl+Shift+N). The New Project dialog box appears.
Under Choose Project pane, select Java under Categories and Java Application under Projects.
Click Next.
Under Name a...