Usage (under linux):

SERVER (connected to Arduino)
sh start_server.sh

CLIENT (connected to joypad)
sh start_client.sh [serveripaddress]

Example: sh start_client.sh 192.168.0.32