clientserverIntro - CS 580 Client-Server Programming Spring...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS 580 Client-Server Programming Spring Semester, 2009 Doc 3 Intro to Client-Server Jan 28, 2009 Copyright , All rights reserved. 2010 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA. OpenContent ( http:// www.opencontent.org/opl.shtml ) license defines the copyright on this document. Reading 2 Java Java Network Programming, Harold 3rd Ed, Chapter 2 - Network Basics Chapter 4 Streams Chapter 9 Sockets for Clients Ruby Programming Ruby, Thomas, 2'ed Chapter 10 Basic Input & Output Class IO documentation (pp 503-515) IPSocket & TCPSocket in Appendix A Reading 2 Java Java Network Programming, Harold 3rd Ed, Chapter 2 - Network Basics Chapter 4 Streams Chapter 9 Sockets for Clients Ruby Programming Ruby, Thomas, 2'ed Chapter 10 Basic Input & Output Class IO documentation (pp 503-515) IPSocket & TCPSocket in Appendix A References 3 Wikipedia, various articles, explicit references on individual slides Network Overview 4 Messages divided into packets Each packet routed separately Routing Issues Overhead issues Send Message To Machine A 5 Network Cloud A B This is just a sample message that one might send on a network to another machine. Sending 6 This is just a sample message that one might send on a network to another machine. A:1:This is just a samp A:2:le message that one A:3: might send on a ne A:4:twork to another ma A:5:chine. Network Cloud A B Tanenbaum - please forgive the gross oversimpliFcation here. Receiving 7 This is just a sample message that one might send on a network to another machine. A:1:This is just a samp A:2:le message that one A:3: might send on a ne A:4:twork to another ma A:5:chine. Network Cloud A B Tanenbaum - please forgive the gross oversimpliFcation here. Issues 8 How does the message get to A How does the message get to the correct program on A How do packets get lost How do packets get out of order Routers 9 Cover routing tables, delay, bu f er overfow, congestions, loops, ttl. See http://en.wikipedia.org/wiki/Router For more inFormation. Some Useful Programs 10 netstat Show status of network connections on machine lsof list open files (& pipes & sockets) traceroute Show the route to remote machine netstat 11 Windows, Unix/Linux Al pro 14->netstat Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 17680 0 10.0.1.192.60840 kusc-pc-stream2..irdmi ESTABLISHED tcp4 0 0 10.0.1.192.60627 208.43.202.32-st.http ESTABLISHED tcp4 0 0 10.0.1.192.60623 adsl-68-20-22-55.28205 ESTABLISHED tcp4 0 0 localhost.26164 localhost.60431 ESTABLISHED tcp4 0 0 localhost.60431 localhost.26164 ESTABLISHED tcp4 0 0 10.0.1.192.afpovertcp 10.0.1.200.53611 ESTABLISHED tcp4 0 0 localhost.26164 localhost.53896 ESTABLISHED tcp4 0 0 localhost.53896 localhost.26164 ESTABLISHED tcp4 0 0 localhost.26164 localhost.51153 ESTABLISHED tcp4 0 0 localhost.51153 localhost.26164 ESTABLISHED tcp4 0 0 localhost.26164 localhost.49164 ESTABLISHED tcp4 0 0 localhost.49164 localhost.26164 ESTABLISHED tcp4...
View Full Document

Page1 / 57

clientserverIntro - CS 580 Client-Server Programming Spring...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online