1 / 20

COP 4930 Computer Network Projects

COP 4930 Computer Network Projects. Summer C 2004 Prof. Roy B. Levow Lecture 1. Introduction. Network : system for connecting computer using a single transmission technology

vinnie
Download Presentation

COP 4930 Computer Network Projects

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. COP 4930Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 1

  2. Introduction • Network: system for connecting computer using a single transmission technology • Internet: set of networks connected by routers that are configured to pass traffic among any computers attached to networks in the set (fig. 17.3) • Internetworking - universal service over a collection of networks

  3. The Internet • A single global network • Many interconnected networks • Roots in military network called Arpanet • Fundamental changes from centralized to distributed computing • Incorporated features for reliability and robustness • Multiple links • Distributed routing

  4. The Internet.2 • TCP/IP protocol made internetworking possible • Developed after Arpanet • Switchover occurred in 1983 • Exponential growth - doubling every 18 months (fig. 2.2)

  5. Packet Networks and • Packet transmission • Data exchange over a network using small transmission units • Packet switching • Packets are transmitted from one node to another from source to destination • Each node receives packet and retransmits it to next node along route to destination

  6. Network Applications • Network applications - programs that use a network • Usually organized as client-server applications • Server starts and waits for requests from clients • Examples • telent, ftp, http (web browsing), email

  7. Complexity of Networking • Many different technologies • Hardware • Software • No unifying theory • Confusing terminology • Many TLAs • Constant change

  8. IP Address • 32 bit binary identifier for computer on the Internet • Ususally written as 4 decimal numbers separated by a “dot” • 131.91.128.83 • Each digit represents 8 bits of IP address • Used internally for all communication

  9. Domain Name • Mnemonic name for a computer on the Internet • www.fau.edu • Components separated by “dot” • Forms a forest of names with the rightmost, top-level, domain as the root • Software translates to IP address

  10. Probing the Internet • Various utilities provide information about computers on the internet • ping – is it possible to connect to the specified computer • traceroute (tracert) – lists nodes along route taken by a packet from source to destination • nslookup – get information about a node from IP address or domain name

  11. Network Programming • Network allows arbitrary applications to communicate • Programmer does not need to understand network technologies • Network facilities accessed through an Application Program Interface

  12. Basic Paradigm for Network Communication • Establish contact • Exchange data (in both directions • Terminate connection

  13. Establishing Contact • Occurs between a pair of applications • One application starts (first) and waits for contact • Called the server • Other application initiates contact • Called the client

  14. Identifying a Service • Two components of identification • A host computer running the service • The particular service on the computer • Component identification • Computer: domain name or IP address • Application: service name or port • Service routines translate between names and numbers

  15. Operation await_contact make_contact Meaning used by a server to wait for contact from a client Used by client to contact a server Simple API Example

  16. Operation cname_to_comp appname_to_appnum Meaning used to translate a computer name to an equivalent internal binary value translate program name to internal binary value Simple API Example.2

  17. Operation send recy send_eof Meaning used by either client or server to send data used by either client or server to receive data used by both client or server after they have finished sending data Simple API Example.3

  18. Example #1: Echo • Useful for network testing • Server returns exact copy of data sent • User on computer X runs echoserver 22000 • User on another computer runs echoclientX 22000

  19. Example #2: Chat • Miniature version of chat • Allows two users to communicate • User on computer X runs chatserver 25000 • User on another computer runs chatclientX 25000

  20. Example #3: Web Server • User on computer X runs webserver 27000 • User on another computer runs browser and enters URL: http://X:27000/index.html • Simple web client

More Related