Java Networking -- Socket

Click here to start

Table of contents

Java Networking -- Socket

A Simple Echo Server

A Simple Echo Server (cont'd)

Test the EchoServer with Telnet

A Simple Client

A Simple Client (cont'd)

A Simple Client (cont'd)

Multi-Threaded Echo Server 

Client Handler 

Client Handler (cont'd)

Visitor Counter

Visitor Counter Server

Visitor Counter Server (cont'd)

Visitor Counter Server (cont'd)

Counter Applet

Counter Applet (cont'd)

Broadcast Echo Server

Broadcast Echo Server (cont'd)

Broadcast Client Handler

Broadcast Client Handler (cont'd)

Broadcast Client Handler (cont'd)

Broadcast Client Handler (cont'd)

Author: Xiaoping Jia

E-mail: jia@cti.depaul.edu

Homepage: http://www.depaul.edu/~xjia

Download presentation