Dear all,
I have a client application named client.exe that accept TCP/IP and port no as input to be invoked and communicate with master or server application exe.
1.First thing i need to do is invoke the application when it is offline by sending TCP/IP and Port no to the application.
2.I Need to use the function described in the client application and receieve message from client application.
3.Send message to client application after invoking client.
Can anyone please help me to achieve this target.
That how can i invoke the offline client and send message after invoking the clent.
basically I need to design a master or server application.
Thank you!
Singh
NEED HELP ON (SERVER/CLIENT)OR(MASTER/SLAVE) APPLICATION SENDING AND RECEIEVING MESSAGE TO AND FROM CLIENT
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Daniel Krainas10 reputationPosted Oct 15, 2010, 9:30 AM EDT
http://articles.techrepublic.com.com/5100-10878_11-6170794.html
In the event the server is down and you must start it, just use:
Process.Start(@"c:\mypath\myServer.exe");
In a client/server environment, the client should never need to turn the server on in the manner you are talking about though. You should maybe look at combining the client and server into one application. It just sounds like an over-complication.
Sam HobbsRank #108 · 20.5K reputationPosted Oct 15, 2010, 12:21 PM EDT