Date : Sat, 11 Jul 2009 10:21:02 +0100
From : robert@... (Rob)
Subject: Master ethernet upgrade
2009/7/11 Sprow <info@...>:
>
> Well, let's see if anything turns up. BSD sockets seem to be widely
> understood so seem like a good starting point.
It's probably not the simplest way of providing services, but it does
seem to have become a de-facto standard..
> ? Jonathan Graham Harston <jgh@...> wrote:
>> F=OPENOUT("-http-sprow.co.uk:80") shirley?
>
> Maybe F=OPENOUT("-wan-sprow.co.uk:80")?
F=OPENOUT("-wan-::http.sprow.co.uk:80") ?
I think that relying on port number to define protocol is asking for
trouble .. many http and ftp services run on alternate ports, for
various reasons.. whilst you can usualy assume that port 80 will
have an http server on it,it's not definite... e.g.
proxy.news.eu.easynews.com listens on a wide variety of common ports
and they are all nntp: !
>
>>
>> Obviously it'd need a hacked up, or re-writtem, NFS or ANFS rather
>> than doing the man-in-the-middle translation I'm doing for BeebEm, but
>> that would probably make it easier to implement!
>
> I'll bow to your superior AUN knowledge, but I was expecting that NFS/ANFS
> could probably be operated on in a similar manner to Joh Kortink's patched
> disc filing systems which do sector operations via OSWord,
It could certainly be written with just access to the basic routines:
- open a socket (to send/listen/both)
- send a packet
- receiver status
- receive a packet (non-blocking)
- close socket
although I dare say more functionality would help...
Rob