Introduction-Network Programming-Lecture Slides, Slides of Network Programming

This lecture was delivered by Dr. Ram Sai at Jaypee University of Engineering and Technology for Computers and Network Programming course. It includes: Network, Programming, Data, Algorithms, Structures, Computer, Linux, Socket, Tcp, Ip, Programming

Typology: Slides

2011/2012

Uploaded on 07/23/2012

gannesh
gannesh 🇮🇳

4.4

(12)

75 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
NetworkProgramming
(Lecture1)
(Introduction)
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Introduction-Network Programming-Lecture Slides and more Slides Network Programming in PDF only on Docsity!

Network

Programming (Lecture

(Introduction)

-^

Fluency

in

C^

Programming

-^

Data

structures

and

algorithms

-^

Computer

Networks

Required

2

Text

Books

-^

Unix

Network

Programming

,^ Volume

1 ,Third

Edition

o^ W.

Richard

Stevens

,Bill

Fenner ,Andrew

M.

Rudoff

-^

Unix

Network

Programming

,^ Volume

2 ,Second

Edition

o^ W.

Richard

Stevens

-^

Linux

Socket

Programming

^ SAMS

-^

Advanced

Programming

in

UNIX

Environment

,^ Second

Edition^ o^

W.^

Richard

Stevens,

Stephen A. Rago

-^

The

Definitive

Guide

to

Linux

Network

Programming

o^ Keir Davis,

John

W.

Turner,

Nathan

Yocom

4

Course

outlines

Introduction TCP/IP The

transport

layer(TCP

and

UDP)

Sockets? TCP

sockets UDP

sockets Advanced

sockets(TCP

and

UDP)

Routing

sockets

Broadcasting Multicasting Practical

implementation

of

all

..

Etc…

Multiple

Clients

Client

Server

Communication

Link

…..^ Client….. Client

7

Sockets

In^

computer

networking,

an

Internet

socket

or

network

socket

is

an

endpoint

of

a^

bidirectional

inter

‐process communication

flow across

an

Internet

Protocol

‐based

computer

network,

such

as

the

Internet.

•^

Socket

Programming:

the

use

of

TCP

and

UDP.

•^

TCP:

Transmission

control

protocol.

•^

connection

‐oriented,

reliable,

full

duplex,

byte

stream

service

  • Interface:

socket,

bind,

listen,

accept,

connect,

read,

write,

close.

  • An

analogy: Socket:

telephone

Bind:

assign

telephone

number

to

a

telephoneListen:

turn

on

the

ringer

so

that

you

can

hear

the

phone

call

Connect:

dial

a^

phone

number

Accept:

answer

the

phone

Read/write:

talking

Close:

???