Author Topic: [c/++] Sockets(potentially).  (Read 1731 times)

0 Members and 1 Guest are viewing this topic.

Offline hmm

  • Serf
  • *
  • Posts: 23
  • Cookies: 0
    • View Profile
[c/++] Sockets(potentially).
« on: 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?
« Last Edit: May 29, 2012, 01:31:18 am by hmm »

Offline Satan911

  • VIP
  • Knight
  • *
  • Posts: 289
  • Cookies: 25
  • Retired god/admin
    • View Profile
Re: [c/++] Sockets(potentially).
« Reply #1 on: 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
Satan911
Evilzone Network Administrator

Offline hmm

  • Serf
  • *
  • Posts: 23
  • Cookies: 0
    • View Profile
Re: [c/++] Sockets(potentially).
« Reply #2 on: May 29, 2012, 04:05:22 am »
Thanks, i'll look into python route as well.

Offline cojacker

  • /dev/null
  • *
  • Posts: 5
  • Cookies: 1
    • View Profile
Re: [c/++] Sockets(potentially).
« Reply #3 on: 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

« Last Edit: September 04, 2012, 03:26:32 am by cojacker »
"The will to conquer is the first condition of victory."

Offline Xires

  • Noob Eater
  • Administrator
  • Knight
  • *
  • Posts: 379
  • Cookies: 149
    • View Profile
    • Feed The Trolls - Xires
Re: [c/++] Sockets(potentially).
« Reply #4 on: September 06, 2012, 10:08:08 pm »
-Xires