Download presentation
Presentation is loading. Please wait.
Published byKenzie Will Modified over 10 years ago
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 [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 http://derhimmel.wordpress.com
17
Summary Things to remember – http://derhimmel.wordpress.com http://derhimmel.wordpress.com – perfekte.himmel@gmail.com perfekte.himmel@gmail.com – do the assignment
18
Assignment #1 Buat sebuah aplikasi PING sederhana. INPUT: alamat server (URL/IP Address). OUTPUT: server REACHABLE/UNREACHABLE – Kirim via Email Subject ProgJarA(spasi)Tugas1(spasi)NIMLengkap – DEADLINE: January 25 th, 2012 11.59pm –.rar NOT.zip BONUS – kirim via email dengan Subject: ProgjarA(spasi)Tugas1Bonus(spasi)NIMLengkap – 43.7D8.259 – 28.0E0.61C
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.