Client - Server Architecture: A Basic Introduction
Client - Server Architecture: A Basic Introduction
A Basic Introduction
Ankita Negi 009964331
Nisha Sharma 010028616
Vivek Dixit 009964318
Fall 2014
SOCKETS
It is a construct that supports network input/output.
Communication is achieved by reading data from the socket and
writing data to it.
Simplified socket structure with five fields:
Family
: defines the protocol group (IPv4, IPv6, UNIX
domain protocols)
Type
: defines the exchange-type (stream, packet, raw)
Protocol
: set to zero for TCP/ UDP
Local address : combination of local IP and application port
address.
Remote address: combination of remote IP and application port address
DEMO
Start server and client.
Implement following commands:Client :
LPWD
LCD
LS
BYE
Server:
PWD
CD
CONCLUSION
implementation of a
client/server structure
understanding SOCKETS - a
construct that supports network
input/output
Understanding TCP
functionality for providing
reliable communications
Use this structure as a
fundamental for implementing
multiple-threading and other
client server r applications
THANK YOU!