Introduction - If you have any usage issues, please Google them yourself
Server and client side, namely the establishment of the so-called client/server programming model. The server side must be the creation of a ServerSocket object, and then wait for the client-side visit. In client-side, it is to create a Socket object to connect directly with the server-side, if the connection is established successfully, then the server will create a Socket object, and then we can take advantage of this Socket object with client-side of the Socket object to communicate. At this time in between server and client to establish a reliable connection, client and server can be connected to the reliable transmission of data. Client request, the server listening to requests from the client and the client to provide the corresponding services.