Problem in Thread
I am working on messenger.On each client side there is an interface that listens the new user request and opens a new window for chatting.But when i use to show the application halts i am writing the code if some one know the solution please Let me know.
Thread thread=new Thread(new ThreadStart(reciveConnection));
public void reciveConnection()
TcpListener tcp=new TcpListener(4600);
Client cli=new Client();/////Initiating object for new clent window
cli.Show();/////Here problem Accours.