What I am trying to achieve is I can chat between this two of my netbook and notebook using ChatServer and ChatClient.
You can't do that with only one Arduino and Ethernet shield.
You can't upload a sketch to the Ethernet shield. The sketch runs on the Arduino that the shield is attached to.
You would need two Arduinos, each with an Ethernet shield.