Do you have two Arduinos? Both the ChatServer and ChatClient have to run on an Arduino/Ethernet shield.