Lab 2: TCP /IP communication Southern Methodist University Bryan Rodriguez.

Slides:



Advertisements
Similar presentations
Click to continue Network Protocols. Click to continue Networking Protocols A protocol defines the rules of procedures, which computers must obey when.
Advertisements

TCP/IP MODEL Maninder Kaur
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
CCNA – Network Fundamentals
Csc333 Data communication & Networking Credit: 2.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
(4.4) Internet Protocols Layered approach to Internet Software 1.
Network Layer and Transport Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
UDP - User Datagram Protocol UDP – User Datagram Protocol Author : Nir Shafrir Reference The TCP/IP Guide - ( Version Version.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
1 Java Networking – Part I CS , Spring 2008/9.
Data Networking Fundamentals Unit 7 7/2/ Modified by: Brierley.
Advanced Web 2012 Lecture 2 Sean Costain How the Web Works - Refresh Sean Costain 2012 The web is a matrix of servers that handle client requests.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Process-to-Process Delivery:
1 Transport Layer Computer Networks. 2 Where are we?
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Lesson 24. Protocols and the OSI Model. Objectives At the end of this Presentation, you will be able to:
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Presentation on Osi & TCP/IP MODEL
Lab 4- Intro to using Wii remotes Southern Methodist University Bryan Rodriguez.
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
HTTP HTTP stands for Hypertext Transfer Protocol. It is an TCP/IP based communication protocol which is used to deliver virtually all files and other.
Huda AL_Omairl - Network 71 Protocols and Network Software.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Application Layer Functionality and Protocols Network Fundamentals.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
Mukesh N. Tekwani Elphinstone College Mumbai
The OSI Model and the TCP/IP Protocol Suite Outline: 1.Protocol Layers 2.OSI Model 3.TCP/IP Model 4.Addressing 1.
Transport Layer and UDP Tahir Azim Ref:
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.

1 Networking Chapter Distributed Capabilities Communications architectures –Software that supports a group of networked computers Network operating.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
Lab 1 : Introduction to LabView 1 Southern Methodist University Bryan Rodriguez.
Lab 5- IR tracking Southern Methodist University Bryan Rodriguez.
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
Networking Basics CCNA 1 Chapter 11.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 3: TCP/IP Architecture.
Protocols COM211 Communications and Networks CDA College Olga Pelekanou
Networks Part 2: Infrastructure + Protocols NYU-Poly: HSWP Instructor: Mandy Galante.
Individual Project 1 Sarah Pritchard. Fran, a customer of your company, would like to visit your company’s website from her home computer… How does your.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
1. Layered Architecture of Communication Networks: TCP/IP Model
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
1 Network Communications A Brief Introduction. 2 Network Communications.
UDP: User Datagram Protocol. What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host – treats a computer as an.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
LESSON Networking Fundamentals Understand TCP/IP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
The OSI Model and the TCP/IP Protocol Suite
Lec 5 Layers Computer Networks Al-Mustansiryah University
The OSI Model and the TCP/IP Protocol Suite
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Process-to-Process Delivery:
Computer Networks Topic :User datagram protocol Transmission Control Protocol -Hemashree S( )
Protocol Application TCP/IP Layer Model
The OSI Model and the TCP/IP Protocol Suite
Presentation transcript:

Lab 2: TCP /IP communication Southern Methodist University Bryan Rodriguez

Objective- To gain a better understanding of the basic communication from flow of TCP/IP using Labview. (Note: This will be how you will communicate with the CSE students) Southern Methodist University Bryan Rodriguez

Acquire Data From Wii remote Format/ Manipulate/ Organize the data Transmit To CSE Basic Data Flow Via Bluetooth connection Via TCP/IP connection Southern Methodist University Bryan Rodriguez

What is TCP? “The Transmission Control Protocol (TCP) is one of the core protocols of the Internet Protocol Suite. TCP is one of the two original components of the suite (the other being Internet Protocol, or IP), so the entire suite is commonly referred to as TCP/IP. Whereas IP handles lower-level transmissions from computer to computer as a message makes its way across the Internet, TCP operates at a higher level, concerned only with the two end systems, for example a Web browser and a Web server. In particular, TCP provides reliable, ordered delivery of a stream of bytes from a program on one computer to another program on another computer. Besides the Web, other common applications of TCP include and file transfer. Among its other management tasks, TCP controls segment size, the rate at which data is exchanged, and network traffic congestion. “ Internet Protocol SuiteInternet Protocol file transfer Southern Methodist University Bryan Rodriguez

Let’s start by looking at a simple communication setup. 1) Open a new blank project: From the main Labview window under “New Custom Lab” select “On my computer” and press the green arrow next to this section. 2) Open an example lab of a TCP/IP connection: In the toolbar at the top select the following- Help > Find Example In the new window open the “Networking Folder“ then open the “TCP & UDP” folder Southern Methodist University Bryan Rodriguez

This should be what you see at this point Open the following examples: “Simple Data Client” and “Simple Data Server” Southern Methodist University Bryan Rodriguez

Following the instructions provided in on each example establish a communication between the 2 windows to transmit data to one another. Look at the various components used for the user interfaces. Relating these examples to our project: EE students = Simple Server CSE students = Simple Data Client Southern Methodist University Bryan Rodriguez

Now let’s look at how everything is working, To do this look at the block diagram for each of the examples- Window > Show Block Diagram With use of the small “Context Help” window and the foot notes on each of the examples try to see if you can get a high level understanding of what is going on and how they are working. Southern Methodist University Bryan Rodriguez

Since this is how we will communicate with the CSE students we need to understand how this example works and what components we will need for our project. In particular make note of the following blocks and their necessary connections in the “Simple Data Server” example: TCP listen TCP Write TCP Close connection For a very detailed explanation of each of the blocks, or any others, right click the block and select Help. Southern Methodist University Bryan Rodriguez

Now you will need to build your own project that transmits a String via a similar connection. You will need to build the following in your own project. Remember to add components you can either do so manually by rick clicking and searching for them or you can copy and past components from other labs. Southern Methodist University Bryan Rodriguez

Once the lab sheet is made and there are no errors you will need to make a “pseudo” CSE student for testing the communication. You will need to download the file “Robot_Networking.jar” from the lab website and follow these instructions: Com. Test: 1.Save this file to the C drive. 2. Set the labview robot project to PORT 4000 (the java program tries to connect to that port) 3. Start running the labview robot project 4. Go to start >> run >> type "cmd“ 5. At the command prompt, type: java -jar "C:\Robot_Networking.jar" Southern Methodist University Bryan Rodriguez

If everything is working properly you should see your string being outputted on the command window. This signifies that you can now use this as a building block in your robot project to establish communication and transmit data to the CSE students. Make sure to save your project so that you can easily extract it or add onto it with future labs as you work towards creating your main robot project files. Southern Methodist University Bryan Rodriguez

Lab questions/discussion points for your report: 1)Briefly describe the 3 major blocks used in your data server project ( Hint: slide 9 ) 2) What data type are we using for the “TCP Write” block? What is the significance of this block and why does the data type matter? 3)What type of looping structure is used in your project and why? Southern Methodist University Bryan Rodriguez