Can not perform ChatServer and ChatClient, help me!

What are you actually trying to achieve?

You can upload either of the sketches to the Arduino/Ethernet shield. If you upload one, then the other, the second will overwrite the first.