Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2 > #26606

Re: Uthernet II preferred slot

From D Finnigan <dog_cow@macgui.com>
Newsgroups comp.sys.apple2
Subject Re: Uthernet II preferred slot
Date 2016-01-07 20:49 +0000
Organization Mac GUI
Message-ID <dog_cow-1452199931@macgui.com> (permalink)
References (2 earlier) <n6f0h1$6cb$1@dont-email.me> <dog_cow-1452029090@macgui.com> <n6hqn1$jej$1@dont-email.me> <dog_cow-1452103265@macgui.com> <n6k59a$cf0$1@dont-email.me>

Show all headers | View raw


ultramagnus_tcv wrote:
> On 2016-01-06 17:58:26 +0000, D Finnigan said:
> 
>>> I'm working through your TCP-server program in the manual and may have
>>> spotted something...
>>> 
>>> 1. Line 28: S0FORPORT EQU $4010 ; FOREIGN PORT
>>> 
>>> Is that right? I'm guessing it's actually $0410 consider what comes
>>> before ($040c) and after ($0412)
>>> 
>> 
>> No, $4010 is in the TX buffer space, which is wrong. Thanks for finding
>> that
>> mistake. It should be $0410 as shown in Table 4.6 on page 19.
>> 
>> I have that source code on a disk. I should correct it and upload it to
>> Asimov for tomorrow, and also correct the manual.
> 
> Excellent.
> 
> I would really like to see a DHCP routine. In a way, they exist but 
> perhaps not openly at the moment? I know it exists in the "2.0.1" 
> ADTPro and obviously inside Marinetti and elsewhere, but a listing like 
> what's the manual for the server test would be very instructive.
>

There is no DHCP client inside Marinetti. ADTPro uses IP65.

Here are all the DHCP routines that I know of, and my remarks on each:

- Contiki
https://github.com/oliverschmidt/contiki/blob/master/core/net/ip/dhcpc.c
This one is OK.

- PLASMA 
https://github.com/dschmenk/PLASMA/blob/master/src/libsrc/dhcp.pla
This is a pretty good one.

- IP65
https://github.com/oliverschmidt/ip65/blob/master/ip65/dhcp.s
This one is fairly good, but could be better. It does not increment the secs
field, and it does not wait until receiving an ACK from the DHCP server
before applying the offered IP configuration.

- Marina
http://marina.a2hq.com/files/src/Marina%20IP%20-%2025%20Oct%2015.2mg.gz
This one is fairly good. It follows the RFC pretty closely, but does not
implement lease renewal.


If you or anyone wants to write or improve a DHCP client, it is imperative
to read these two documents first:
http://tools.ietf.org/html/rfc2131
http://tools.ietf.org/html/rfc2132

-- 
]DF$
The Marina IP stack for Apple II--
http://marina.a2hq.com/

Back to comp.sys.apple2 | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Uthernet II preferred slot Steven Nelson <steven-nelson@uiowa.edu> - 2016-01-02 12:08 -0800
  Re: Uthernet II preferred slot "Bill Garber" <willy46pa@comcast.net> - 2016-01-02 18:28 -0500
  Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-03 10:42 -0600
  Re: Uthernet II preferred slot Ken C <arizonakenwc@gmail.com> - 2016-01-04 05:42 -0800
    Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-04 15:13 +0000
      Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-04 10:49 -0600
        Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-04 18:37 +0000
          Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-04 13:45 -0600
          Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-04 17:53 -0600
            Re: Uthernet II preferred slot David Schmidt <schmidtd@my-deja.com> - 2016-01-04 20:54 -0500
            Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-05 21:22 +0000
              Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-05 19:32 -0600
                Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-06 17:58 +0000
                Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-06 16:45 -0600
                Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-07 20:49 +0000
                Re: Uthernet II preferred slot David Schmidt <schmidtd@my-deja.com> - 2016-01-07 16:05 -0500
                Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-07 21:21 +0000
                Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-07 18:54 -0600
                Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-08 17:56 +0000
                Re: Uthernet II preferred slot spectrumdaddy@nospam.com (Ewen) - 2016-01-08 07:31 +0000
                Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-08 09:52 -0600
                Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-08 18:09 +0000
                Re: Uthernet II preferred slot spectrumdaddy@nospam.com (Ewen) - 2016-01-09 08:09 +0000
                Re: Uthernet II preferred slot spectrumdaddy@nospam.com (Ewen) - 2016-01-09 08:17 +0000
                Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-06 18:36 -0600
                Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-07 20:57 +0000
                Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-07 18:06 -0600
                Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-08 18:07 +0000
                Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-08 16:44 -0600
                Re: Uthernet II preferred slot Jeff Blakeney <CUTjeffrey_blakeney@yahoo.ca> - 2016-01-08 15:25 -0500
                Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-08 16:43 -0600
                Uthernet II Assembly Listing Questions (was: Re: Uthernet II preferred slot) ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-07 18:54 -0600
                Re: Uthernet II Assembly Listing Questions awanderin <awanderin@gmail.com> - 2016-01-08 00:47 -0700
                Re: Uthernet II Assembly Listing Questions ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-08 09:51 -0600
                Re: Uthernet II Assembly Listing Questions ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-08 10:28 -0600
                Re: Uthernet II Assembly Listing Questions Raymond Wiker <rwiker@gmail.com> - 2016-01-08 20:46 +0100
                Re: Uthernet II Assembly Listing Questions Michael J. Mahon <mjmahon@aol.com> - 2016-01-09 12:38 -0600
                Re: Uthernet II Assembly Listing Questions ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-09 15:00 -0600
                Re: Uthernet II Assembly Listing Questions awanderin <awanderin@gmail.com> - 2016-01-09 00:02 -0700
                Re: Uthernet II Assembly Listing Questions ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-09 09:05 -0600
                Re: Uthernet II preferred slot ultramagnus_tcv <mikew@thecomputervalet.com> - 2016-01-08 18:38 -0600
                Re: Uthernet II preferred slot ol.sc@web.de (Oliver Schmidt) - 2016-01-19 20:37 +0000
        Re: Uthernet II preferred slot Steven Nelson <steven-nelson@uiowa.edu> - 2016-01-04 10:41 -0800
          Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-04 18:47 +0000
            Re: Uthernet II preferred slot Steven Nelson <steven-nelson@uiowa.edu> - 2016-01-04 15:21 -0800
              Re: Uthernet II preferred slot D Finnigan <dog_cow@macgui.com> - 2016-01-05 21:16 +0000
          Re: Uthernet II preferred slot Delfs <eeastman@gmail.com> - 2016-01-05 03:24 -0800
  Re: Uthernet II preferred slot MarkO_ <apple2@markoverholser.com> - 2016-01-13 13:55 -0600

csiph-web