telnet fun....echoed characters happen also, pogram is NOT A FUCKING WORD socket programming with tcp client must contact server - server proc must be running when client tries to connect gethostbyname() <--gets IP apps communicating, distributed procs, running in hosts in userspace exchange messages to implement app application layer protocols one piece of an app define messages exchanged by apps and actions taken use comm services provided by lower layer protocols https status response codes 200 ok 301 moved perm 400 bad req 404 not found 505 http version not supported ftp has response codes, too! MY GOD KILL ME NOW 3 components to email user agent mail server smtp mail server demo