linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: wim delvaux <wim.delvaux@adaptiveplanet.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] killing a persisted pand session
Date: Sun, 07 Mar 2004 02:17:43 +0100	[thread overview]
Message-ID: <1078622263.2807.2.camel@pegasus> (raw)
In-Reply-To: <200403070058.50508.wim.delvaux@adaptiveplanet.com>

Hi Wim,

> If i run
> 
> pand --persist --connect XXXX
> 
> this means that pand will try to reestablish the connection to XXX whenever it 
> needs to.
> 
> Now I want to terminate that application.
> 
> Should I run 
> 
> pand -k XXX ?
> 
> or
> 
> pand -K ?
> 
> or
> 
> kill `pidof pand` ( or a bit more complicated)
> 
> I have tried
> 
> pand -k
> 
> which seems the most logical but this only closes the connection which then 
> gets reestablished after the interval timeout (5 secs).  I would expect a -k 
> to really 'kill' the connection and terminate the corresponding pand

you have to kill the pand process first and then run 'pand -k' to kill
the active connections.

Or you extend pand that it will kill the current connection by itself if
it receives SIG_TERM. Patches are welcome ;)

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-03-07  1:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-06 23:58 [Bluez-users] killing a persisted pand session wim delvaux
2004-03-07  1:17 ` Marcel Holtmann [this message]
2004-03-07  1:21   ` wim delvaux
2004-03-07  1:33     ` Marcel Holtmann
2004-03-07  1:42       ` wim delvaux
2004-03-07  1:50         ` Marcel Holtmann
2004-03-07  1:44       ` wim delvaux
2004-03-07  1:55         ` Marcel Holtmann
2004-03-07  2:07           ` wim delvaux
2004-03-07  1:45       ` wim delvaux
2004-03-07  1:57         ` Marcel Holtmann
2004-03-07  2:10           ` wim delvaux
2004-03-07  2:37             ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1078622263.2807.2.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=wim.delvaux@adaptiveplanet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).