1 / 18

Network Programming

Network Programming. Class 1. Tugas & TR. 5 Tugas 1 TR Beberapa Kejutan. To Do & Not To Do. Don’t Do Anything Stupid. W.T.H is Network Programming. Network programming is client-server programming Client-server model Peer-to-peer model Network programming is socket programming

cora
Download Presentation

Network Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network Programming Class 1

  2. Tugas & TR • 5 Tugas • 1 TR • BeberapaKejutan

  3. To Do & Not To Do • Don’t Do Anything Stupid

  4. W.T.H is Network Programming • Network programming is client-server programming • Client-server model • Peer-to-peer model • Network programming is socket programming • Standard API: Berkeley Socket

  5. Client-server architecture

  6. Bit-Torrent architecture

  7. Why C#? • Programming Language Jobs

  8. Why C#? • Programing Language Trends

  9. For Java Lovers • Google Trends

  10. What We Gonna Do? • Network Programming Basic • Connection-Oriented Sockets • Connectionless Sockets • Asynchronous Sockets • Threads • Broadcast and Multicast

  11. PING

  12. ICMP

  13. PING RESULT Pinging google.com [209.85.175.106] with 32 bytes of data: Reply from 209.85.175.106: bytes=32 time=2157ms TTL=53 Reply from 209.85.175.106: bytes=32 time=1255ms TTL=53 Reply from 209.85.175.106: bytes=32 time=878ms TTL=53 Reply from 209.85.175.106: bytes=32 time=709ms TTL=53 Ping statistics for 209.85.175.106: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 709ms, Maximum = 2157ms, Average = 1249ms

  14. GOOD thing gone BAD • The Ping of Death • The Ping Of Death essentially crashes a system by sending a Ping packet that is larger than 65,536 bytes; the default is 64 bytes. • Smurf attack

  15. Summary • Things to learn • Multi-thread Programming • Socket • Packet Analyzer/Sniffer: Windump/Wireshark/Etheral

  16. Summary • Things to do • Get Microsoft Visual C# 2005/2008/2010 Express Edition • Download this file at http://derhimmel.wordpress.com

  17. Summary • Things to remember • http://derhimmel.wordpress.com • perfekte.himmel@gmail.com • do the assignment

  18. Assignment #1 • Buatsebuahaplikasi PING sederhana. • INPUT: alamat server (URL/IP Address). • OUTPUT: server REACHABLE/UNREACHABLE • Kirim via Email Subject ProgJarA(spasi)Tugas1(spasi)NIMLengkap • DEADLINE: January 25th, 2012 11.59pm • .rar NOT .zip • BONUS • kirim via email dengan Subject: ProgjarA(spasi)Tugas1Bonus(spasi)NIMLengkap • 43.7D8.259 • 28.0E0.61C

More Related