| 
   Java TOPIC 20 – INTRO TO NETWORKING 
 LESSON WORK 
 QUESTION #1 Short
  answer questions a)   
  What
  does IP stand for?  Use the internet if
  it is necessary. b)   
  Which
  DOS command do you use to find your computer’s IP address? c)   
  Which
  DOS command do you use to find your computer’s host name? d)   
  Which
  DOS command would you use to check connectivity with a computer named coco
  that is on your network? e)   
  What
  is the IP address of your computer right now? f)    
  What
  is the host name of your computer right now? QUESTION #2 Get
  the IP address and the host name of a computer near you.  Ask your neighbour.  Ping that computer to see that the
  connectivity is working. QUESTION #3 Run
  the code in the full example of the lesson note.  Pick either option. QUESTION #4 (TIME PERMITTING - MAX OF 1 PERIOD FOR THIS
  LESSON) You
  can also create an InetAddress object representing
  another computer’s IP address.  You can
  do this fairly easily if you know that computer’s host name.  Use the Java documentation to do this.   Are
  you able to figure out how to do it with the computer’s IP address?  Unfortunately, it requires that you work
  with a byte array. 
  | 
 
| 
   |