Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

a) teeE B0a- Areu'teture

Ertended Sevvice Set 1688 8Qa-x CAN


portal

Dicteibutiog ryrun

Bate AP AP
Sonice CTA5
Cet

STA4
STA 4
Baztc Soaute Sot
STA 3

80&- stavclard is populay Enon as witi, laye do usn archtehue


for wAN. fodoig ane de componata of faq-u Arewtece

- slations CSTH) t compniy of all duiy thut


taet ane camueel tu
wwre AN. : WAP (Ae, and client. ach etataa hu s Ate

- Gai Sea sef (6ss),Openalig oM Modeof aperation -.Gs can be


of 2calgo nis , nfrashutme bs aual tndepunalont Bsa.
- Exfenda Semi set , ito a set of all coued Bs
Dishmibuked syy teun lt comls AP' in éss.
b) fram Fomal of 1é6E R0 a s .
() (1Dala chele
-tJ) tegue
(4)
ho! ()
dh'n
Dur 3(6) ()
tda (6) Add
(6)
Stqutne follouiy u the
Con
cowponens af
tdd
Fen

- frame Control (L Byte), It confaMS I sub held. it coufai coniro |


tufmmahor af fram
-Durahon (2 Byte)
- Aeldres frelels, heve are 3x 6By ty
Sequne (29y tes),It s/ons tame woma bog
- Data (0-4312 byies)
Sequsat (q Bqle) it contass errw dukuhon infomahou,
Socket progvamning fundementads.
4socket s wwed in chent-sev vev app licat framwoork.
a procen thot perfpmy appliaton: an rqut fram a dint. Mat
of appcahan leue probacole (ike Fe,snmtP, and POP3 malee weue of sockat'
te estahluh cenhech'au betucen d'ewt and server and lan far enchging
data.
fae soclcet mechaunism proualu
betuveen hih the comum'cobou tales
nanol cataut ports
to re heturovk G eneeteol at eah nel
plae. 4 sodkat conruhng
co mmwm cetiau .ah socket hau speu'fe aoldrey. fuy adtalney
asddnus anel a port RUmber. tws bypu of
streony soc lcet.
saclcet i îhe dangrom sodcef
notuorle whily hos connuhiom l poln!
fnij # a
I Cafagvam socket :
for canding
mni'ot ians sacket or
d. Stsea m Socket r is a type of nterpro caw co
ngtwos sochet whch prouisly a conneLt'on orèntedl, sequned,
wQw ftow of data mifhout vecovd bouralomig uth ell dihna
mechenisny

cl'ent

socketC) socet C)

bnal )
les fon )
accpt) canneet)
veew ) send y
Seud () Yevc)
cdosel) close )
sts inveluing in socket praqranmug

1. Sockel creati'an ?o crete a cocket, youu neeol te call socka t(), wwth
croutes a socket object, and relurny a soket deiptor he
3oclet desn'ptor Used in al subeeqvent opev ad'ons.
soccet : You need b bon socket
Bindigaald ney andl port lacel hosb. To do fhis
speuhe
Cal binal ().

3. Lis bau g and acaphgy cohheetians Nesct i can be wed


us fen for inca conn eeh ony. o do thiy you cel
g
is feu ) when a Cohneutien veu ust arrivy , call aupt
to a upt
4.
Establukny Conneutien Call canneutl) to es fabuih conehy
Temo e host. Q oetusy a soc ket dmploY
he cannLh'pn.

Jendly anu Teuwt ca mmuu catioy facy pla


fo senel paceet to Yeubue
by
det paelcet betwen sevoly ano ecn

conneetios: ahen Ky,clore the camm Cahan


6.
cleuig close C). îui rew u Teoury
Socket he socket desmp tor.

You might also like