C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Reply
 
LinkBack Thread Tools Display Modes
Old 05-04-2007, 11:55 AM   #1
Registered User
 
Join Date: Dec 2006
Posts: 60
Some help with http (?)

Hi,
I have some basic knowledge on socket programming and in particular, stream sockets.
I would like to know if there is a way to implement a simple programm that connects to a server and asks for an html (or other, txt etc..) file.
Is there any sample of code that i might be given or a helpful link?
Thanks in advance..
tezcatlipooca is offline   Reply With Quote
Old 05-04-2007, 11:58 AM   #2
Cat without Hat
 
CornedBee's Avatar
 
Join Date: Apr 2003
Posts: 8,492
http://www.w3.org/Protocols/rfc2616/rfc2616.html
__________________
All the buzzt!
CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
CornedBee is offline   Reply With Quote
Old 05-05-2007, 01:57 PM   #3
Malum in se
 
abachler's Avatar
 
Join Date: Apr 2007
Posts: 3,188
Win32 API - InternetOpen , etc. all good stuff for downloading web pages and files.
__________________
Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.
abachler is offline   Reply With Quote
Old 05-12-2007, 06:37 AM   #4
Woof, woof!
 
zacs7's Avatar
 
Join Date: Mar 2007
Location: Australia
Posts: 3,295
Google cURL
__________________
"I.T. gets the chicky-babes" - M. Kelly
bakefile | vim
zacs7 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP Methods POST AND GET "DATA" bhupesh.kec C Programming 4 06-05-2008 12:35 PM
Error stop Http Listener George2 C# Programming 1 06-04-2008 02:14 AM
my HTTP request handler code correct? George2 C# Programming 0 04-25-2008 04:01 AM
C# HTTP request/response George2 C# Programming 0 04-02-2008 06:00 AM
Writing all HTTP requests from a website to a log file goomyman C# Programming 1 07-29-2005 09:18 AM


All times are GMT -6. The time now is 08:13 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22