#!/bin/sh echo "$SOCAT_PEERADDR:$SOCAT_PEERPORT" >&2 #echo "$SOCAT_PEERADDR:$SOCAT_PEERPORT" >>guestbook.txt #timeout 5s cat >>guestbook.txt #printf 'HTTP/1.1 500 Not implemented\nServer: funserv\n\nThanks\n' ./bash-httpd.sh exit