Upload
merlin664
View
219
Download
0
Embed Size (px)
Citation preview
8/6/2019 Netwinz TCP Guide
http://slidepdf.com/reader/full/netwinz-tcp-guide 1/5
netwinz
TRANSMISSION CONTROL PROTOCOL (TCP)
Introduction:
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,
complementing the Internet Protocol (IP), and therefore the entire suite is
commonly referred to as TCP/IP. TCP provides reliable, ordered delivery of a
stream of bytes from a program on one computer to another program on another
computer. TCP is the protocol that major Internet applications such as the World
Wide Web, email, remote administration and file transfer rely on. Other
applications, which do not require reliable data stream service, may use the User
Datagram Protocol (UDP), which provides a datagram service that emphasizes
reduced latency over reliability.
For TCP communications, the client must connect to the server first before any
data exchange can take place.
netwinz Guide
8/6/2019 Netwinz TCP Guide
http://slidepdf.com/reader/full/netwinz-tcp-guide 2/5
HOW TO CONDUCT THE EXPERIMENT:
SERVER:
Click on Transport Layer on the Main Window and Then Select “TCP” Module
from the Modules displayed in the centre of the window.
TCP Protocol Window will open up as shown in SNAPSHOT-1.
SNAPSHOT-1
1. Click on “START SERVER” button to start the TCP Server. The Server will
Start and wait for incoming connections from the client.
2. Once Client Establishes Connection with the Server, “DATA” textbox and
“SEND” button is enabled and “SOURCE IP”, “DESTINATION IP”, “SOURCE
PORT” and “DESTINATION PORT” is populated with the actual values.
3. Enter the data in the “DATA” textbox and click on “SEND” button to send
Data to the Client.
8/6/2019 Netwinz TCP Guide
http://slidepdf.com/reader/full/netwinz-tcp-guide 3/5
4. Any Incoming Data is Displayed in the box at the bottom of the Server
Control as shown in SNAPSHOT-2
SNAPSHOT-2
5. Click on “STOP SERVER” to stop the server. The Server will no longer service
any requests from the client.
8/6/2019 Netwinz TCP Guide
http://slidepdf.com/reader/full/netwinz-tcp-guide 4/5
CLIENT:
On the Client Window,
1. Enter the IP Address of the Server you wish to connect to.
2. Click on “CONNECT” button to connect to the Server.
3. On Successful connect, “DATA” textbox and “SEND” button is enabled and
“SOURCE IP”, “DESTINATION IP”, “SOURCE PORT” and “DESTINATION
PORT” is populated with the actual values.
4. Enter Data in the “DATA” textbox and click on “SEND” button to send Data
to the Server.
5. Any Incoming Data is Displayed in the box at the bottom of the Client
Control as shown in SNAPSHOT-3
SNAPSHOT-3
Use Loop back Address “127.0.0.1” if Server is running on the same
computer.
8/6/2019 Netwinz TCP Guide
http://slidepdf.com/reader/full/netwinz-tcp-guide 5/5
Server and Client Messages are Displayed in the “Message Window” on the
extreme right.
Reset Button:
Click On “RESET BUTTON” to reset all the controls to initial values.
Click on “HELP BUTTON” to Open TCP Manual.
Click on “EXIT BUTTON” To Close TCP Window.
Copyright © 2011 Emblitz Technologies Pvt Ltd. All rights reserved. www.netwinz.com