Skip to content

AmiTCP_NG v4.1.2 — gethostname() and the start of stack tuning

Choose a tag to compare

@MW0MWZ MW0MWZ released this 26 Jul 23:45
· 14 commits to main since this release

This release implements gethostname() and lays the groundwork for faster networking. It is a drop-in upgrade -- run the installer over an existing AmiTCP_NG (or Roadshow) setup and reboot.

gethostname()

gethostname() is now implemented -- it previously always returned -1. The HOSTNAME= value in AmiTCP.config is validated, so it only ever returns a well-formed name.

The start of stack tuning

Groundwork for better throughput on faster links -- a first step, with more to come:

  • The SANA-II receive ring is sized by installed RAM instead of a fixed 16 buffers, so a burst on a fast NIC is less likely to be dropped at the driver.
  • Per-interface tuning keys are now honoured: iprequests=, writerequests=, mtu=, and tcp.sendspace= / tcp.recvspace=. Example configs for genet.device and wifipi.device ship in Storage/NetInterfaces.

CPU-tuned builds

Pick the archive for your CPU (all three are functionally identical):

  • AmiTCP_NG-v4.1.2 -- standard 68000, runs on every 68k Amiga.
  • AmiTCP_NG-v4.1.2-68020 -- for 68020+ (A1200, A3000).
  • AmiTCP_NG-v4.1.2-68040 -- for 68040+ (A4000, PiStorm, Vampire).

The 020/040 builds emit CPU-specific code -- don't run them on a lesser CPU. When unsure, use the plain 68000 archive.

Installing

Download the .lha (or the .adf floppy image) for your CPU and run Install-AmiTCP_NG on your Amiga. Reboot when it finishes.

The bsdsocket.library ABI is unchanged (4.1) -- a drop-in across the whole 4.1.x line.

Buy me a coffee ☕

This is a hobby project, done for the love of the Amiga — not to make money, and it will always be free. But if it's useful to you and you fancy buying me a coffee, that's very kind: https://paypal.me/AndyTaylorTweet — entirely optional, and thank you either way.