# This example allows network across multiple browser tabs by using BroadcastChannels.

# Configure a static IP
ifconfig eth0 up arp 10.5.0.x

# Ping by IP
ping 10.5.0.x

# Run a DNS server and send a query (10.5.0.x for server, 10.5.0.y for record)
echo "anotherhost 10.5.0.y" | dnsd -c - -v    - server
nslookup -type=a anotherhost 10.5.0.x         - client

# Telnet calculator
socat TCP-L:23,fork exec:bc

# Simple HTTP server
socat TCP-L:80,crlf,fork system:'echo HTTP/1.1 200 OK;echo;lua /root/test.lua'