EvilZone

Programming and Scripting => C - C++ => : hmm May 29, 2012, 01:07:02 AM

: [c/++] Sockets(potentially).
: hmm May 29, 2012, 01:07:02 AM
Could anyone direct to source that contains a lot of information on this subject? I'd like to write a program that pulls information from various websites (none of which are my own). Are sockets the way to accomplish this goal? Is there a way?
: Re: [c/++] Sockets(potentially).
: Satan911 May 29, 2012, 02:33:38 AM
You could do it in C++ but honestly if you want to pull information from websites / servers I suggest looking into sockets in python, perl and even Java. Sockets in C++ are hard to implement and I'm almost sure you'll find everything you need in a few python lines.

If you really want to go the C++ way I think the best networking library out there is Boost::asio. http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio.html
: Re: [c/++] Sockets(potentially).
: hmm May 29, 2012, 04:05:22 AM
Thanks, i'll look into python route as well.
: Re: [c/++] Sockets(potentially).
: cojacker September 04, 2012, 03:22:30 AM
If you're still looking -C# is sweet for webscraping and the best thing is there are alot of examples for anything you want to scrape on the web

I found this with a quick search of google(C# web scraping tutorial)
http://www.youtube.com/watch?v=mY4o_E0bilc

: Re: [c/++] Sockets(potentially).
: Xires September 06, 2012, 10:08:08 PM
http://beej.us/guide/bgnet/