Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

Introduction Network programming involves writing programs that communicate with other programs across a computer network. One program is normally called.

Presentasi serupa


Presentasi berjudul: "Introduction Network programming involves writing programs that communicate with other programs across a computer network. One program is normally called."— Transcript presentasi:

1 Introduction Network programming involves writing programs that communicate with other programs across a computer network. One program is normally called the client and the other the server. Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 (http://www.kohala.com/start/preface.unpv12e.html)http://www.kohala.com/start/preface.unpv12e.html

2 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 In computing, network programming, essentially identical to Socket programming or client-server programming, involves writing computer program that communicate with other programs across a computer network. (http://en.wikipedia.org/wiki/Computer_network_programming)http://en.wikipedia.org/wiki/Computer_network_programming

3 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 writing computer computer network

4 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Jadi Pemrograman Jaringan : Sebuah program jaringan dapat menerima informasi dari seluruh komputer yang ada diseluruh dunia. Dapat juga berkomunikasi dengan banyak orang diseluruh dunia, namun juga dapat mengancam komputer- komputer diseluruh dunia Program jaringan yang simple dan terkenal adalah client server – Contoh: browser-web server, chatting/messenger, multiplayer games, peer-to-peer applications seperti Gnutella.

5 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Apa yg dapat dilakukan Pemrograman Jaringan ? Retrieve Data – Paling banyak dipakai – Cth: browser, RSSReader Send Data – Cth: File Storage, Grid Computing Peer to Peer Interaction – Cth: Games, Chat/Messenger, File Sharing Web Based Application -Cth: Search Engine E-Commerce

6 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Aplikasi-aplikasi Pemrograman Jaringan Network Tools – traditional: telnet, ftp, rsh, rlogin, SMTP, Internet Tools – gopher, HTTP, NTP, Chat rooms Collaborative Tools – Application Sharing, Desktop Conferencing,Distance Learning Distributed Object Computing – SUN RPC, CORBA, JAVA RMI Distributed Databases -Oracle, SQLserver

7 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Bagaimana berkomunikasi antar aplikasi dalam sistem ? Protocols Karena harus berkomunikasi menggunakan “bahasa yang sama”

8 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 TCP/IP Protocol Architecture Application Layer – Communication between processes or applications Host to host, or transport layer (TCP/UDP/…) – Reliable delivery of data – Ordering of delivery Internet Protocol – Menentukan jalur: jalur yang ditempuh antara pengirim dan penerima. – Switching: memindahkan paket dari input router ke output router yang sesuai. – Call Setup: beberapa arsitektur jaringan membutuhkan setup koneksi dahulu.

9 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Tujuan : Mampu mengembangkan program client dan server dengan menggunakan protokol User Datagram Protocol (UDP) dan Transport Control Protocol (TCP) Memahami bagaimana Internet bekerja, Arsitekturnya dan protokol TCP/IP

10 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009

11 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009

12 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009

13 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009

14 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Diskripsi : Membangun arsitektur client-server menggunakan Socket interface (API untuk TCP/IP). Materi nya meliputi : Dasar dan lebih lanjut pemprograman jaringan TCP/ seperti multiprocesses, I/O multiplexing, multithreaded, multicasting and secure network programming. Application examples such as Internet browsing, instant messaging, proxy filtering (deskription.doc)

15 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Application programming interface (API) is an interface that defines the ways by which an application program may request services from libraries and/or operating systems.[1][2][3] An API determines the vocabulary and calling conventions the programmer should employ to use the services. It may include specifications for routines, data structures, object classes and protocols used to communicate between the requesting software and the library.interfaceapplication programlibrariesoperating systems[1][2][3]calling conventions programmer routinesdata structuresobject classes protocols (http://en.wikipedia.org/wiki/Application_programming_interface)

16 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 ASPIASPI for SCSI device interfacingSCSI CarbonCarbon and Cocoa for the MacintoshCocoaMacintosh ClipMail ComediComedi Data Acquisition API DirectXDirectX for Microsoft WindowsMicrosoft Windows Drupal APIDrupal API (Drupal)Drupal Facebook APIFacebook API (Facebook)Facebook Google Maps API iPhoneiPhone API Java APIs MediaWiki API (http://en.wikipedia.org/wiki/Application_programming_interface#API_examples) Contoh API

17 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 OpenGLOpenGL cross-platform graphics API OpenALOpenAL cross-platform sound API OpenCLOpenCL cross-platform API for general-purpose computing for CPUs & GPUs PaymentVision PayAPI for ACH & Credit Card Payment ProcessingPayAPI PayPalPayPal Payment Pro PC BIOS call interfaceBIOS callinterface Mosso_(cloud_computing)Mosso_(cloud_computing) API Simple DirectMedia LayerSimple DirectMedia Layer (SDL) Single UNIX SpecificationSingle UNIX Specification (SUS) TweetDeckTweetDeck (uses the Twitter API)Twitter Windows API YouTube API AMESimAMESim Circuit API

18 Introduction Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 The Transmission Control Protocol (TCP) is one of the core protocols of the Internet Protocol Suite. TCP is one of the two original components of the suite (the other being Internet Protocol, or IP), so the entire suite is commonly referred to as TCP/IP.Internet Protocol SuiteInternet Protocol (http://en.wikipedia.org/wiki/Transmission_Control_Protocol)

19 SAP Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Network Programming Topics in this section include: What a socket is What you can do with a socket The difference between TCP/IP,UDP/IP and Multicast sockets How servers and clients communicate over sockets How to create a simple server How to create a simple client How to create a multithreaded server (Socket-notes.pdf)

20 SAP Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Network Programming Topics Lecture 1: Overview, TCP/IP Architecture, Introduction to Sockets programming (C:1-5, S:3) HandoutHandout Lecture 2: Sockets Elementary, Client Algorithms and Software Architecture I (C:6,7,S:4) Handout Handout Lecture 3: Server Algorithms and Architecture I: Iterative Servers (C:9-10, S:5,8,27) HandoutHandout Lecture 4: Server Algorithms and Architecture II: Concurrent Servers and I/O Multiplexing (C:11-13, S:6,27) HandoutHandout Lecture 5: Multi Service Servers, (C:14,16), Socket Options (S:7) Handout Lecture 6: Multithreaded Servers (S:23, papers, Examples) Handoutpapers Examples Lecture 7: IP Multicasting: (S: 19, Examples) HandoutExamples Handout Lecture 8: Gateway and software Tunneling (15,17,18), Daemon Processes, Non Blocking I/O (S:12,15) Handout Handout Lecture 9: Reliable Multicasting Protocols (Handout)(Handout) Lecture 10: Advanced Topics: SSL and Attack protection (Deskription.doc)

21 SAP Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 Pemprograman Jaringan ( SAP GUNADARMA TI ) (AK doc)

22 SAP Penguatan Materi Mata Kuliah : Pemprograman Jaringan, 20 Agustus 2009 DISKUSI


Download ppt "Introduction Network programming involves writing programs that communicate with other programs across a computer network. One program is normally called."

Presentasi serupa


Iklan oleh Google