Practical C 600.111


Click here to start

Table of contents

Practical C 600.111

Lecture 7 – Outline

Reference Material

Simple TCP Client-Server

Simple Client-Server TCP Example

Library support

IPv4 Socket Address Structure

IPv6 Socket Address Structure

Generic Socket Address Structure

socket

socket contd.

Slide 12

connect

connect contd.

bind

bind contd.

getsocketname

getpeername

listen

accept

accept contd.

select

select contd.

Slide 24

Slide 25

Slide 26

close

Simple Client-Server TCP App.

Examples in Action

Programs Handouts

Compiling the Examples

Author: Cristina Nita-Rotaru

E-mail: crisn@cs.jhu.edu

Homepage: http://www.cs.jhu.edu/~crisn

Best viewed with
StarOffice