IT427 Network Programming Seminar - Lecture 3, Oct. 26, 2000

ARP (Address Resolution Protocol)


ARP maps Internet addresses to physical addresses.
 

Problem:
given 2 machines A, B, connected to the same physical network.
Each has    IPAddress -- Ia, Ib
                   physical adderess -- Pa, Pb


Goal:

given machine A wants to send IP packet to address Ib, how does it determine which physical address Pb to use.


Solution:

ARP:
1) A sends request for Pb to P broadcast. ARP request

2) B replies with mapping: ARP reply

ARP Message format:


 
 
 

If a computer's primory purpose is to support and run a particular server program, the term "server" is often applied to the computer as well. Ex: web server, file server,...

Server starts execution before interaction begins, continually accepts connections and sends responses without terminating. This is where the infinite loop is needed.
 

Protocol + Services:


 
 
 

Objects of interest:
 

          http://java.sun.com/products/jdk/1.1/docs/api/java.net.Socket.html