closing a process

  • Thread starter Thread starter vidya nair via DotNetMonster.com
  • Start date Start date
V

vidya nair via DotNetMonster.com

hi
i am doing a socket program in c#. and i m invoking a whiteboard
application in
server side and at the same time it should be invoking the other end ie in
client side. i want to close the application in the client end when i close
it in the server side. how can it be possible in c#
how can i get the handle of the whiteboard application while closing the
application.
expecting ur reply

vidya
 
vidya nair via DotNetMonster.com said:
server side and at the same time it should be invoking the other end ie in
client side. i want to close the application in the client end when i close
it in the server side. how can it be possible in c#

You have to send a signal/command and act on that.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Develop ASP.NET applications easier and in less time:
http://www.atozed.com/IntraWeb/
 
AFAIK, you can't remotely kill a process. What you can do is send a
message to the other side indicating that this side is closing. The
other side can then shut itself down on seeing the message.
 
You can also do it by having a remoting server on the remote machine that
makes the actual request, and has an interface through which authorized
clients can make the request.

--Bob
 
Back
Top