nanochat server in 916 bytes, implemented entirely in uxn :D
canon impl by @d6: https://git.phial.org/d6/nanochat
difference is that mine has a limit of 65535 messages before the count overflows and you can't read any more :P
oh and also you can DoS by starting a connection and never sending a newline…
but at least it can avoid buffer overflow by kicking you!
src: https://codeberg.org/notchoc/nanochat.tal
rom: https://codeberg.org/notchoc/nanochat.tal/raw/branch/main/bin/nanochat.rom
run: uxn2 -N nanochat.rom
!!! DISCLAIMER: YOU ACCEPT EVERYTHING THAT WILL HAPPEN FROM NOW ON !!! UXN2 STILL DOES NOT HAVE SANDBOXING (YET) SO USE AT YOUR OWN RISK
#uxn #uxntal #nanochat


