Java 'net package - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Java 'net package

Description:

The .net Socket class manages TCP automatically ... class listens at a port, then constructs and returns a Socket object when an ... – PowerPoint PPT presentation

Number of Views:184
Avg rating:3.0/5.0
Slides: 13
Provided by: michae544
Category:
Tags: constructs | java | net | package

less

Transcript and Presenter's Notes

Title: Java 'net package


1
Java .net package
  • Socket and
  • ServerSocket Classes

2
(No Transcript)
3
80 HTTP
4
(No Transcript)
5
(No Transcript)
6
The .net Socket class manages TCP automatically
Socket t new Socket("timeA.timefreq.bldrdoc.gov"
,13) BufferedReader is new
BufferedReader (new InputStreamReader(t.getInputS
tream()))
7
The .net ServerSocket class listens at a port,
then constructs and returns a Socket object when
an open request is made by a client
ServerSocket s new ServerSocket(8189) for
() Socket incoming s.accept( )
8
(No Transcript)
9
Inet Address
10
(No Transcript)
11
(No Transcript)
12
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com