Introduction - If you have any usage issues, please Google them yourself
Use of multi-threading technology, the preparation of C/S mode chat program, to achieve the client as well as between the client and server communication. Required to meet the following requirements:
Connect the server to the client successfully sends a welcome message.
Server interface displays connected to its client IP address.
When a client is offline, the server you want to make the right judgments.
Server selects a client to chat.
Chat directly between the client, not through server forwards