Technical data

TCP/IP Network Basics 7
Agilent Connectivity Guide 173
This figure shows typical socket architecture. When a socket is first
created, it has an associated protocol but not an IP address or port
number. A socket must be
bound to a port number before it can receive
messages from a remote application.
File Transfer Protocol (FTP) File Transfer Protocol (FTP) is an
application used to transfer files from a host to another host and store
the files on the requesting host. In an FTP session, one host (the client)
requests a file and the other host (the server) transfers a copy of the file
to the client. The two hosts thus establish a
client/server relationship.
File transfer can be in text or binary format.
An FTP client can use a word processor, FTP command line utility or
FTP command server to request a file from the server. The
command-line FTP client application requires you to know FTP
commands, while an FTP command interpreter allows you to connect to
an FTP server without using FTP commands. You can login to FTP
using anonymous so that no password is required.
Figure 61 Typical Socket Architecture
Application Layer
Transport Layer
Internet Layer
IP
UDP
1
TCP/IP Stack
2 65535. . . 1 2 65535. . .
Application
Application Application
TCP Sockets
UDP Sockets
Sockets bound
to ports
. . .
. . .
Sockets
TCP Ports
UDP Ports
TCP