View Single Post
Old 25th May 2023, 7:21 pm   #6
Michael Haardt
Tetrode
 
Join Date: May 2021
Location: Titz, Germany.
Posts: 72
Default Re: Spectranet - ethernet for your Spectrum

Quote:
Originally Posted by paulsherwin View Post
I've no personal experience of this, but I'd imagine implementing a TCP/IP protocol stack on a Spectrum would be more of a challenge than providing a raw packet level interface. An impressive achievement though.
The question is how minimal you want to go. uip and lwip have very different memory requirements, but both could work. See

https://github.com/adamdunkels/uip/b...uip-refman.pdf

for uip. You had to link the stack into the application, which means if the application ends, the system would not respond to a ping any more, much like NCSA telnet on DOS back then. uip needs an interrupt and a timer to handle timeouts.

Michael
Michael Haardt is offline