From: Andrea <mar...@gm...> - 2021-04-27 14:11:48
|
On 27/04/2021 12:46, Philip Kendall wrote: > Andrea, > > On Tue, Apr 27, 2021 at 8:57 AM Andrea <mar...@gm... <mailto:mar...@gm...>> wrote: > > I see FUSE has a W5100 Ethernet card emulation > > > [ ... ] > > So this is the question I have for you: have you got any example of a ZX80 software that does DHCP > and this works with your W5100 emulation? > If yes, I am really curious to see how you did it. > > > The simple answer here is "no" - what I realised while writing the W5100 emulation was > > 1) that DHCP was hard (and needed root access, which I wanted to avoid) So far in AppleWin the emulation requires libpcap and the capability to inject and receive raw packets. > 2) The Spectranet (which is why Fuse has the W5100 emulation) can function with only TCP and UDP. > I think this makes it a lot more portable and able to use non ethernet networks (the above code only works on an ethernet card in promiscuous mode, no wifi, vpn normally). > so I took the easy route and just did TCP and UDP :-) As you've probably noticed, Fuse's W5100 > support isn't really "emulation" but more proxying through to the OS's underlying stacks. I think that as long as the guest software runs, it is doing its job. Do you mind giving me some instructions on how to run Spetranet (I have never used fuse before). I'd like to see the code in a debugger. > > Cheers, > > Phil Andrea |