Saturday, November 1, 2008

HTTP Notes

Organisation of the TCPIP Stack:
  • Application Layer: HTTP, DHCP, ARP, DNS
  • Socket/Transport Layer: TCP, UDP
  • Network Layer: ARP, IP
  • Datalink: MAC
  • Drivers
Stock Quote request sequence example:
  1. DNS - UDP query and response
  2. ARP - L2 query and response
  3. Http client - TCP socket open, GET and parse the HTML response
The HTTP query is: http://www.klse-online.com/fetch2.php?stock=ytl

The query and response patterns captured by wireshark below.

No comments: