Webpage Input

M

Malcolm McLean

Umesh said:
Is there any library which enables user to open a html file from
internet as input?
Yes. In an ideal world fopen(http://www.xxxxx, "r") would do it. In practise
you need a socket library, which in non-standard and slightly different on
Windows, Linux, or Macs, so repost to a group for your operating system.
 
R

Richard Bos

Umesh said:
Is there any library which enables user to open a html file from
internet as input?

None which is portable, and since various computer systems handle
networking, TCP/IP, and HTTP requests differently (and many don't even
allow (or for that matter are capable of) any of that at all), there
cannot be. Any system which can get a file off a web server - the type
of contents will probably not matter much for this, BTW - is likely to
have a library to let you do so, but it's not going to work on other
OSes. So ask in a newsgroup dedicated to your OS; possibly
comp.unix.programmer, possibly microsoft.programmer.buzzword-du-jour.

Richard

[ Ping Steve Summit: is this not a FAQ, and should it not therefore be
in section 19? ]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top