Networking Patterns: Naming and Client-Server Interaction
In this content, we delve into the intricate world of networking patterns through examples such as naming systems, IP addresses, DNS, and client-server interactions. Exploring the fundamentals of systems like IP addressing and naming conventions, this material provides insights into how systems communicate and exchange information efficiently. It also highlights a client-server example demonstrating remote method invocation.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
L2: Naming Dina Katabi & Sam Madden 6.033 Spring 2014 http://web.mit.edu/6.033
Name Examples in Systems csail.mit.edu 128.30.2.121 dina dina@csail.mit.edu DNS name IP Address User name Email address R0 x86 processor register File name URL Phone number /mit/6.033/www/dp1.ps http://web.mit.edu/6.033/www/dp1.ps (617) 324-6027, x4-6027
Client-Server Example public interface ShipInterface extends Remote { public String ship(Integer) throws RemoteException; } public static void main (String[] argv) { try { ShipInterface srvr = (ShipInterface) Naming.lookup("//amazon.com/Ship"); shipped = srvr.ship( 123 ); System.out.println(shipped); } catch (Exception e) { System.out.println ( ShipClient exception: " + e); } }