Application Layer
Application Layer
Session layer:
Functions at the session layer create and maintain dialogs between source and destination applications:
initiate dialogs,
keep them active,
restart sessions that are disrupted or idle for a long period of time.
In client-server model, application layer describes the format of request and responses.
P2P application allows a device do act both as server and client within a specific application.
Common P2P networks include the following:
BitTorrent
Direct Connect
EDonkey
Freenet
Some P2P applications are based on Gnutella protocol, where each user
shares whole files with other users:
uTorrent,
BitComet,
DC++,
Deluge,
emule.
BitTorrent allows users to share pieces of many files with each other at the same time
HTTP and HTTPS have messages to communication between server and client:
STMP – sending mails to servers, it is not P2P, STMP servers are communicating with each other
to send these mails
POP – email messages are downloaded by the host and removed from the server
IMAP – email messages are copied to the host, they stay in the server, if a host removes the
email, the same happens on the server
DNS addresses are broken into smaller parts like .com, .org or any other for countries:
Nslookup command is used for check which domain is assigned to which IP address by DNS
DHCP communication:
Heloł! Ewrybady! Ja jestem klient i wale ramke. O adresie ef ef ef ef ef z moim odpowiednio sors mak
adres czyli z moim mak adresem fizycznym swoim adresem na adres rozgłoszeniowy wale na wszystkie
możliwe odpowiednio miejsca gdzie to odpowiednio jest.
Stary wiesz co to ja ci proponuje adres odpowiednio taki z maską taką z taką bramą i z takim serwerem
dns. No to ja mówię: no to super!! no to weź go mi tu przydziel!! No to serwer dhcp mówi: no to dobra.
No to masz. Używaj.