Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: D Finnigan Newsgroups: comp.sys.apple2.programmer Subject: Re: Uthernet II manual - sample code Date: Tue, 7 Feb 2017 02:59:07 -0000 (UTC) Organization: Mac GUI Lines: 21 Message-ID: References: <878838ba-6367-4afb-b045-0b6bdb53ec65@googlegroups.com> <52456f9a-dfac-4c2b-adbf-e459915ededd@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 7 Feb 2017 02:59:07 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="562e6702ce122d361a20eabdfb1c77db"; logging-data="12210"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DS/inwhoLKTn3VqRRdrB6" User-Agent: Mac GUI Usenet In-Reply-To: <52456f9a-dfac-4c2b-adbf-e459915ededd@googlegroups.com> Cancel-Lock: sha1:vAX1a3qWnSnx6Vz6x71qmUA5+8w= Xref: csiph.com comp.sys.apple2.programmer:3261 Chris Torrence wrote: > Okay, so I made the code even smaller by just letting the W5100 handle the > wraparound automatically. It worked like a charm. That's what I ended up doing in Marina, but the caveat is that, to the best of my knowledge, you can only use socket 0. If you want to use more than one socket, you have to think about wraparound in your code. But I'm not certain on this, so it's worth experimenting with. > code here, and also email it to DF in case you want to include some of it > in the next manual update. Thanks for the help! > Got it. As I said in my reply to your email, I'll run it through Merlin, see how it goes, then update the manual. -- ]DF$ The Marina IP stack for Apple II-- http://marina.a2hq.com/