Use AsyncSocket to implement communication between Server and Client. The demo code has two parts, one is installed on one iPhone as a Server, the other is installed on another iPhone as a Client. These two iPhones can send messages to each other