Announcement
iPhone DZone: Fresh Links On Your iPhone by matt at Sat Jul 05 14:09:51 EDT 2008
Reading DZone on your iPhone just got a little bit easier. Visit http://dzone.com/iphone from your iPhone to try out our beta iPhone support. You can view stories, filter by tags, and login. We'd appreciate your feedback at feedback@dzone.com.
You pick the winners! Login and vote now.
By scratchprojects
via scratchprojects.com
Published: Sep 26 2006 / 18:06
This tutorial walks you through the steps of creating a program that requests the source code (HTML) of a webpage and then gives the user multiple options for viewing the web server's response. It uses the Winsock API to manipulate sockets on the system, and teaches you to create reusable code along the way.
Comments
kayess replied ago:
Maybe it's just me, but this guy doesn't quite understand domain names. That isn't too bad, but that a C++ tutorial returns the address of the internal buffer of a temporary object is unforgivable.
kayess replied ago:
There are unfortunately a number of bugs, some very serious in the code. There are also a number of style problems even though the author avoids some common ones.
I've written an email to the author of this article and hopefully he can correct them.
jo42 replied ago:
Better yet, Read The Source for wget.
Voters For This Link (10)
Voters Against This Link (0)