Sample Java Code for Client and Server Chat Application

Download Solution: Click to Download Solution
Solution File Name: ClientServerChatApplication.doc
Unzip Password: prestobear.com

Problem:
Sample Java code for client and server chat application


1. ChatClient.java
package com.chat.group;

import java.net.*;
import java.io.*;

public class ChatClient implements Runnable {  

}

2. ChatClientThread.java
package com.chat.group;

import java.net.*;
import java.io.*;

public class ChatClientThread extends Thread {  

}

3. ChatServer.java
package com.chat.group;

import java.net.*;
import java.io.*;

public class ChatServer implements Runnable {  

}

4. ChatServerThread.java
package com.chat.group;

import java.net.*;
import java.io.*;

public class ChatServerThread extends Thread {  
	}
}

Add Comment