Presentation is loading. Please wait.

Presentation is loading. Please wait.

Network Programming Class 1. Tugas & TR 5 Tugas 1 TR Beberapa Kejutan.

Similar presentations


Presentation on theme: "Network Programming Class 1. Tugas & TR 5 Tugas 1 TR Beberapa Kejutan."— Presentation transcript:

1 Network Programming Class 1

2 Tugas & TR 5 Tugas 1 TR Beberapa Kejutan

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 [ ] with 32 bytes of data: Reply from : bytes=32 time=2157ms TTL=53 Reply from : bytes=32 time=1255ms TTL=53 Reply from : bytes=32 time=878ms TTL=53 Reply from : bytes=32 time=709ms TTL=53 Ping statistics for : 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

17 Summary Things to remember – – – do the assignment

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


Download ppt "Network Programming Class 1. Tugas & TR 5 Tugas 1 TR Beberapa Kejutan."

Similar presentations


Ads by Google