Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to synchronize a window to other pc using java socket programming and the working of that window is also synchronized parallely to other pc here is the code of the client
Java
import java.io.*;
import java.net.*;
public class Sockettest
{
 public static void main(String[] args)

try
{
Socket s=new Socket("10.225.67.116",6666);
DataOutputStream dout=new DataOutputStream(s.getOutputStream());

new class2();
dout.writeUTF("Hello Server");



}
catch(Exception e)
{
System.out.println(e);
}
}
}


in this class2 is use to synchronized to another pc and the working on that class2 window is parallely synchronized to anther pc...means if i type anything on that window then it also synchronized to another pc parallely
Posted
Comments
Mohibur Rashid 30-Sep-15 18:56pm    
And the question is?
Aditya kumar 1-Oct-15 1:00am    
how to synchronize that class2 window which contain a textbox and when i write something on that textbox it also synchronized parellely

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900