06-02-2013, 11:16 AM
CLIENT-SERVER APPLICATION FOR CHAT
AIM:
To write a client-server application for chat using TCP
ALGORITHM: CLIENT
1.start the program
2. To create a socket in client to server.
3. The client establishes a connection to the server.
4. The client accept the connection and to send the data from client to server and vice
versa
5. The client communicate the server to send the end of the message
6. Stop the program.
ALGORITHM: SERVER
1.start the program
2. To create a socket in server to client
3. The server establishes a connection to the client.
4. The server accept the connection and to send the data from server to client and vice
ersa
5. The server communicate the client to send the end of the message
6.Stop the program.