Introduction - If you have any usage issues, please Google them yourself
Simple chat room system composed of two parts: the server side and client. Server is running, open the listener, the port monitor server settings. Client wants to enter the chat room, the first port to the server settings to send the request, the server connects to the monitor, you can accept or reject. If the server has accepted the client request corresponding to the client to establish a socket , on the equivalent of the establishment of a data transmission channel, so that the client will be able to enter the chat room to chat.