This is the Code for a Telnet GPIO-Server based on an Arduino Mega 2560 and the fitting Ethernet-shield.