Client / Server Programming with TCP/IP Sockets
Author: Rajinder Yadav
Date: Sept 9, 2007
Web: http://devmentor.org
Email: rajinder@devmentor.org
Table of Content
Networks....................................................................................................................................................... 2
Diagram 1 – Communication Link............................................................................................................. 2
IPv4 Internet Protocol ................................................................................................................................. 2
IP Address................................................................................................................................................ 2
IP Classes ...................................................................................................................................................... 3
IP and the Hardware ................................................................................................................................... 3
IP and DNS................................................................................................................................................... 3 loopback................................................................................................................................................... 4
IP from hostname.................................................................................................................................... 4 hostname from IP.................................................................................................................................... 4 hostent structure ..................................................................................................................................... 4
TCP Transmission Control