====== Sockets ====== This lecture provides a review of the higher-level network protocols and a hands-on implementation of a socket connection. ===== Outline ===== * Networking terms: IP, TCP, Port, and DNS * How to find your IP address and how to do a DNS lookup * Building a socket client given the server's IP/Port and the protocol * Building a socket server given a port and a protocol * Scalability, Reliability, and Security in servers ===== To Do ===== * Read sections 1.1 to 1.3 of our textbook (~10 pages). * Do [[http://www.cse.yorku.ca/~roumani/warp/labs/lab1.htm|Lab-1]]. Use the //Discussion Group// if you encounter problems. Check also the resources available in the //Resource Directory// (accessible from the //Resources// page). * Read the socket tutorial from [[http://java.sun.com/docs/books/tutorial/networking/sockets/index.html|Sun]]. //Optional// ===== Slides from Lecture ===== {{:4413socket.swf?525x412}}