Groups | Search | Server Info | Login | Register


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

Re: TCP/IP options

Path csiph.com!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Paul Edwards <mutazilah@gmail.com>
Newsgroups comp.os.os2.programmer.misc
Subject Re: TCP/IP options
Date Tue, 26 Mar 2024 16:32:03 +0800
Organization A noiseless patient Spider
Lines 41
Message-ID <utu167$1n0oc$1@dont-email.me> (permalink)
References <uttrtd$1lrs8$1@dont-email.me>
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 26 Mar 2024 09:32:08 +0100 (CET)
Injection-Info dont-email.me; posting-host="c7f4ac7ec7f765baa9b77d6c88df1b94"; logging-data="1803020"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rgEKDfzjr2V525XCgk3UZyyajhuGhFtg="
User-Agent Mozilla/5.0 (OS/2; Warp 4.5; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
Cancel-Lock sha1:pCBTwqyHtanGJytc3XvScYtP4Ls=
In-Reply-To <uttrtd$1lrs8$1@dont-email.me>
Xref csiph.com comp.os.os2.programmer.misc:1916

Show key headers only | View raw


On 26/03/24 15:02, Paul Edwards wrote:

> Although I suspect that I can probably use qemu and
> com1 if I just want to retrieve the text at
> http://pdos.org - I will try that.

Actually, I simply tried telnet, and:

telnet www.pdos.org 80

followed by:

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 it occurred to me that since I have control of
my own C library (PDPCLIB), I would make the above
work with fopen("tcp://www.pdos.org:80", "r+");
(probably don't want binary for this - but the
application can make that choice)

And then it's up to my C code (in PDPCLIB, not the
app), to interpret that "tcp://" and then do whatever
OS/2 calls are required to make a connection.

That sounds neat to me.

Or am I missing something?

And use the same syntax as qemu for the filename?

-serial tcp:news.eternal-september.org:119

Thoughts?

Thanks. 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