Building a Simple Server in C for the Commodore Amiga
New videos will be published on PeerTube! https://makertube.net/c/the_industrio... Topaz Rabbit walks through building a simple bsdsocket.library based server for the Commodore Amiga using the C programming language. You'll learn about development environment setup, waiting for socket connections & other signals, and reading and printing client data to the console. Mastodon: https://oldbytes.space/@TopazRabbit Website: https://theindustriousrabbit.com/ RSS: https://theindustriousrabbit.com/inde... Chapters 00:00 - Introduction 00:08 - Network socket basics on the Amiga 01:06 - Development environment setup 01:54 - Starting work on our server 02:20 - setup()/teardown() 02:53 - Control-C handling in SAS/C 03:24 - bind a socket to a port and interface and listen, and processor/networking endian-ness conversion 04:00 - Waiting for socket activity or Control-C using WaitSelect() 05:25 - Reading data from the client 05:56 - Amiga function names can be different from normal socket library function names 06:11 - setsockopt, TIME_WAIT, and SO_REUSEADDR 06:52 - Conclusion --- References Code: Server code on Hackerbun Gitea (https://code.hackerbun.dev/TheIndustr...) Grab the code and follow along! Documentation: AROS bsdsocket.library notes (https://en.wikibooks.org/wiki/Aros/De...) Covers a lot of the Amiga-specific basics NetBSD socket programming (https://wiki.netbsd.org/examples/sock...) Guide to using sockets on a BSD-based system Amiga bsdsocket.library autodocs (https://wiki.amigaos.net/amiga/autodo...) Amiga function names and usage details SO_REUSEADDR example (https://stackoverflow.com/questions/2...) Note that you don't get SO_REUSEPORT or SO_LINGER on the Amiga! Setup: AmiTCP 4.3 SDK (http://aminet.net/package/comm/tcp/Am...) You'll need this (or an equivalent) to compile this code Setting up the SDK (https://eab.abime.net/showthread.php?...) Forum post showing SAS/C and AmiTCP SDK setup --- Credits Music: "Industrious Ferret" by Kevin MacLeod https://incompetech.com CC-BY 3.0 (http://creativecommons.org/licenses/b...)

Can a Commodore Amiga help you cook a pizza? -- Amiga GUI app development in C

Building a Simple HTTP Server in C

C Is Obsolete

Android 17 sucks. So I put Linux on a phone.

Building a simple Amiga network client...in assembler?!?

1983: Meet the COMPUTER ADDICTS | Newsnight | Retro Tech | BBC Archive

Amiga 3000 - The Best Amiga Ever?

NVIDIA Monopoly is DEAD | OPEN-SOURCE Chips Are HERE!

Programming in Assembly without an Operating System

Menace Source Code - Assembling 30+ Years Old Amiga Format Code

I Tried to Learn Rust

Amiga Hardware Programming in C Part 1 - Introduction

How Does Epyx Fastload Make Loading Faster on a Commodore 64?

Cross Development for the Amiga with VBCC

80s Computer Cracks Moon Message: Commodore Amiga Moonbounce!

How to Actually Learn C (2027 Edition)

Tips for C Programming

Programming the Amiga to Play a Sound (C/C++)

Coding an HTTP Server in C

