I have one InternetServer.java which starts a server at port 10000. In same class i have started a server at different port(6066). I have one client class which is in different java project. My working is that first i run server it start working at port 1000,aftar that it wait for connection at port 6066. When i run my client class form different java project i m able to establish the connection and to send the req from client at port 6066. My Problem is that when i send response from server (port 6066) to client class it always sends null and it shows NULL value only when i stop the server. Kindly give the solution how can i get response at client class. I will be highly thankful to you.
Ads