Groups | Search | Server Info | Login | Register


Groups > comp.os.os2.programmer.misc > #1918

Re: TCP/IP options

From Paul Edwards <mutazilah@gmail.com>
Newsgroups comp.os.os2.programmer.misc
Subject Re: TCP/IP options
Date 2024-03-26 19:34 +0800
Organization A noiseless patient Spider
Message-ID <utubss$1piaa$1@dont-email.me> (permalink)
References <uttrtd$1lrs8$1@dont-email.me> <utu167$1n0oc$1@dont-email.me>

Show all headers | View raw


On 26/03/24 16:32, Paul Edwards wrote:

> GET /index.htm HTTP/1.0
> Host: www.pdos.org
> <blank line here, so just hit enter>
>
> worked fine, got me my page, and did indeed disconnect.

And I tried a get of /pdpclib.jpg (a JPEG picture,
obviously), and I got raw binary data.

Which suggests to me that I should be supporting
(in PDPCLIB) a syntax of:

fopen("http://www.pdos.org/pdpclib.jpg", "rb");

As well as the non-specific fopen of "tcp:..."

and that PDPCLIB should internally do the "GET".

My application could automatically open microemacs
to display /index.htm, and when it is closed, could
present the user with a list of links available from
that site so that they can choose which one they
wish to look at. That list could be displayed in
microemacs too, and they just delete everything
except the link they want to go to.

ie a really crude, simple, easy to write, understandable
browser. And C90-compliant.

ANSI X3.64 support could be added later for a fullscreen
text experience.

BFN. Paul.

Back to comp.os.os2.programmer.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

TCP/IP options Paul Edwards <mutazilah@gmail.com> - 2024-03-26 15:02 +0800
  Re: TCP/IP options Paul Edwards <mutazilah@gmail.com> - 2024-03-26 16:32 +0800
    Re: TCP/IP options Paul Edwards <mutazilah@gmail.com> - 2024-03-26 19:34 +0800
      Re: TCP/IP options Paul Edwards <mutazilah@gmail.com> - 2024-03-26 19:53 +0800
      Re: TCP/IP options Paul Edwards <mutazilah@gmail.com> - 2024-03-27 07:36 +0800

csiph-web