Re: Accessing web with a C program



Lew Pitcher <lpitcher@xxxxxxxxxxxx> wrote:

You /should/ be able to
FILE *web = fopen("http://google.com/","r";);
and have a valid read connection to the named web page.

Should? I'm curious, what argues for this behavior? I certainly
wouldn't expect it from fopen() regardless of whether it was commonly
implemented or not.

--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
.



Relevant Pages

  • Re: Accessing web with a C program
    ... Mark McIntyre wrote: ... and have a valid read connection to the named web page. ... what argues for this behavior? ...
    (comp.lang.c)
  • Re: Accessing web with a C program
    ... and have a valid read connection to the named web page. ... what argues for this behavior? ... whatever weirdness one would do on MVS to reference a disk on a remote ...
    (comp.lang.c)
  • Re: Accessing web with a C program
    ... Lew Pitcher wrote: ... access some web page and pass some parameters and fetch the return ... and have a valid read connection to the named web page. ...
    (comp.lang.c)
  • Re: Accessing web with a C program
    ... and have a valid read connection to the named web page. ... It would require substantial changes to the implementation ... provide a way to determine the mime type and base URI of a resource ...
    (comp.lang.c)
  • Re: Accessing web with a C program
    ... and have a valid read connection to the named web page. ... Supporting URLs as file names shouldn't require any changes to ... It would require substantial changes to the implementation ...
    (comp.lang.c)