GIDForums  

Go Back   GIDForums > Computer Programming Forums > C Programming Language
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 05-Feb-2004, 13:55
wbutler wbutler is offline
New Member
 
Join Date: Feb 2004
Posts: 1
wbutler is on a distinguished road

http Library in C


I'm looking for a library that provides http functions to a C program to be written in UNIX. I just need basic functionality that provides the abililty to download raw source code for web pages which will then be passed to a parser and analysed for various different things. Does anybody know where such a library can be found? Thanks a lot!
  #2  
Old 05-Feb-2004, 16:42
dsmith's Avatar
dsmith dsmith is offline
Senior Member
 
Join Date: Jan 2004
Location: Utah, USA
Posts: 1,351
dsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of lightdsmith is a glorious beacon of light
Hello wbutler. Welcome to the forums.

Let me make sure that I understand what you are looking for. You want to be able to parse html source file to find different things, is that correct? I don't have a library coded to do that. But if you are looking to do something like this and can't find a pre-coded library, I have posted a couple of functions here that may get you started.

If you want a library to make html/cgi pages from a c file, I do have a library to do that.
  #3  
Old 06-Feb-2004, 06:55
Garth Farley Garth Farley is offline
Invalid Email Address
 
Join Date: May 2002
Location: Ireland
Posts: 638
Garth Farley is a jewel in the roughGarth Farley is a jewel in the roughGarth Farley is a jewel in the rough
It sounds more likely to me that he wants to open a socket to a remote http webserver, and fetch a webpage.

Since I don't know what library might be compatible with your compiler (in theory they should all be), so have a look at some of these listings:
www.thefreecountry.com
www.programmersheaven.com
samba.anu.edu.au

I use g++, and there's a fetch.h header file with functions getHTTP which look perfect, but I cannot find any mention of it being a standard part of the library. Have a look through your compilers library before heading off to other sources.

GF
 
 

Recent GIDBlogPython ebook by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The specified CGI application misbehaved by not returning a complete set of HTTP head bacchus MySQL / PHP Forum 6 16-Jul-2007 21:12
web server in secure mode not connecting to http application tcsasp Apache Web Server Forum 0 06-Nov-2003 00:08
wannabrowswer - http user agent spoofing jrobbio Web Design Forum 2 22-Mar-2003 07:11
PHP code snippet library - Anyone have any use for this? jrobbio MySQL / PHP Forum 1 02-Mar-2003 15:18

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:21.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.