Network Programming - PowerPoint PPT Presentation

About This Presentation
Title:

Network Programming

Description:

Network Programming Oleh: Idris Winarno Praktikum 1 Mendapatkan informasi suatu URL dengan menggunakan class URL Praktikum 2 Opening a stream over the net using ... – PowerPoint PPT presentation

Number of Views:162
Avg rating:3.0/5.0
Slides: 16
Provided by: Idri2
Category:

less

Transcript and Presenter's Notes

Title: Network Programming


1
Network Programming
  • Oleh
  • Idris Winarno

2
Praktikum 1
  • Mendapatkan informasi suatu URL dengan
    menggunakan class URL

3
Praktikum 2
  • Opening a stream over the net using
    URLConnection. Uses the four step technique to
    open a connection to a web site and read an HTML
    document from it. When the document is fully
    loaded, it is displayed in a text area. To run
    the GetFile application, specify a URL as the
    command-line argument.
  • For example
  • Java GetFile http//detik.com

4
Praktikum 2 (contd)
5
Praktikum 2 (contd)
6
Praktikum 3
  • Program connection oriented / TCP dengan
    menggunakan class Socket dan ServerSocket. Client
    bisa meminta informasi waktu saat ini pada
    server.

7
Praktikum 3 (contd) - Server
8
Praktikum 3 (contd) - Server
9
Praktikum 3 (contd) - Client
10
Praktikum 3 (contd) - Client
11
Praktikum 4
  • Program connectionless / UDP dengan menggunakan
    class DatagramPacket dan DatagramSocket. Client
    bisa meminta informasi waktu saat ini pada
    server.

12
Praktikum 4 (contd) - Server
13
Praktikum 4 (contd) - Server
14
Praktikum 4 (contd) - Client
15
Praktikum 4 (contd) - Client
Write a Comment
User Comments (0)
About PowerShow.com