Please enable JavaScript.
Coggle requires JavaScript to display documents.
Net Programming ( Client Server Model (To create simple server ( Create…
Net Programming
Peer to peer connection to exchange data.
Can be same or dif machines.
One becomes client and other server.
Needs Authentication, Authorization and Data security.
Socket
-
Connection between hosts.
Allows programmer ability to use network connection like a file for reading and writing.
Hides low level details from programmer like error detection and packet sizes.
Security
Must have: Authentication: Verify client identity.
Authorization: Does client have permission?
Data Security: Protection of data from unauthorized action
Standard server software are those defined by TCP/IP. eg Telnet, ftp, smtp.
All otheers are non-standard
Types of Client Server
Connectionless - UDP
-
Client/server requests may be lost, delayed, duplicated or out of order.
Low latency: for video, games etc
-
-
Models
-
Application layer
-
-
-
-
-
FTP
File Transfer between computers.
Can upload, download, delete, copy files from a server.
Name and password required unless on anonymous ftp
-
-
-
-
-
- Concurrency in clients and servers
-
-
-
-
-
Comparison: 7 to 5
Tcp: combines app, pres and ses.
TCP is simpler
TCP is implementation of OSI
-
-
-