Find the answer to your Linux question:
Results 1 to 2 of 2
i am running a client server program. whenever the client is killed the pipe is broken and the SIGPIPE signal is invoked on the server side. It must be the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    30

    kill command in linux


    i am running a client server program.
    whenever the client is killed the pipe is broken and the SIGPIPE signal is invoked on the server side.
    It must be the kill command which has broken the pipe.
    But then i want to know how it happens??
    how kill command closes the connections to which the process(client) is connected i.e (Server).
    There must some code in the kill command which does this.
    Please tell me how this happens

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,885
    It's not very often that you get to answer a question on here with a song...

    The solution is 'kill -9 [pid]'

    (My apologies to those that could be offended, but this contains some adult language)
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •