Operang’Systems’and’Networks’ Networks’Part2:’Physical’Layer’
15--04--17
Opera-ng
Systems
and
Networks
Networks
Part
2:
Physical
Layer
Adrian
Perrig
Network
Security
Group
ETH
Z?rich
Extra
Credit
Points
? Since
we
did
not
announce
the
Extra
Credit
Points
in
the
course
descrip-on,
we
are
not
allowed
to
have
them
increase
your
grade
? But
we
s-ll
want
to
provide
incen-ves
to
study
and
to
solve
the
projects
? So
we
will
raffle
off
prizes
at
the
end
of
the
semester,
and
the
more
credit
points
you
collect,
the
higher
the
chance
of
winning
? Essen-ally,
each
credit
point
is
like
a
loTery
-cket
that
par-cipates
in
each
drawing
? Detailed
descrip-on
is
on
the
course
web
site
...
2
1
15--04--17
Overview
? Important
concepts
from
last
lecture
? Sta-s-cal
mul-plexing,
sta-s-cal
mul-plexing
gain
? OSI
7
layer
model,
interfaces,
protocols
? Encapsula-on,
demul-plexing
? This
lecture
? Socket
programming
overview
? Physical
layer
? Online
lecture
videos:
hTp://
3
Network--Applica-on
Interface
? Defines
how
apps
use
the
network
? Lets
apps
talk
to
each
other
via
hosts;
hides
the
details
of
the
network
app
app
host
host
4
2
15--04--17
Mo-va-ng
Applica-on
? Simple
client--server
connec-on
setup
reply
request
5
Mo-va-ng
Applica-on
(2)
? Simple
client--server
connec-on
setup
? Client
app
sends
a
request
to
server
app
? Server
app
returns
a
(longer)
reply
? This
is
the
basis
for
many
apps!
? File
transfer:
send
name,
get
file
(?6.1.4)
? Web
browsing:
send
URL,
get
page
? Echo:
send
message,
get
it
back
? Let's
see
how
to
write
this
app
...
6
3
15--04--17
Socket
API
? Simple
abstrac-on
to
use
the
network
? The
network
service
API
used
to
write
all
Internet
applica-ons
? Part
of
all
major
OSes
and
languages;
originally
Berkeley
(Unix)
~1983
? Supports
two
kinds
of
network
services
? Streams:
reliably
send
a
stream
of
bytes
? Datagrams:
unreliably
send
separate
messages.
(Ignore
for
now.)
7
Socket
API
(2)
? Sockets
let
applica-ons
aTach
to
the
local
network
at
different
ports
Socket,
Port
#1
Socket,
Port
#2
8
4
15--04--17
Socket
API
(3)
Primi%ve
Meaning
SOCKET
Create
a
new
communica-on
endpoint
BIND
Associate
a
local
address
with
a
socket
LISTEN
Announce
willingness
to
accept
connec-ons;
give
queue
size
ACCEPT
Passively
wait
for
an
incoming
connec-on
CONNECT
Ac-vely
aTempt
to
establish
a
connec-on
SEND
Send
some
data
over
the
connec-on
RECEIVE
Receive
some
data
from
the
connec-on
CLOSE
Release
the
connec-on
9
Using
Sockets
Client
(host
1)
Time
Server
(host
2)
10
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- cin front end tutorial script lirmm
- operang systems and networks extracreditpoints networks
- review singlencycle processor
- csc cpe520 the internetof things
- sql server interview questions answers set 1 50
- countering innovative sandbox evasion techniques used by
- computer architecture ele475 cos475 slide deck 8a
- cs252 graduate computer architecture fall 2015 lecture4
- a thorough study on sql injection attack researchgate
- operang systems and networks networks part2 physical layer
Related searches
- crm systems and practices
- types of information systems and examples
- 11 body systems and their functions
- information systems and organizational goals
- information systems and business strategy
- three economic systems and examples
- information systems and e business management
- difference between information systems and it
- star systems and galaxies worksheet
- major organ systems and their functions
- types of government systems and examples
- computer systems and information technology