2005-01-10 15:10:21

by Manjunath Prabhu

[permalink] [raw]
Subject: [Bluez-users] Kill l2test server

Hi marcel,
For the l2test, is there a cleaner method to kill the listening
receiver. I am using CTRL+C right now. I am trying to kill the active
socket....using close(s1)...but it doesn't seem to be working.
I want a clean exit.

Regards,
Manjunath


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-01-10 20:24:34

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Kill l2test server

Hi Manjunath,

> The active connection is killed once the client(sender) exits. I want
> to kill the listening socket....how can i do this?

with the current code this is impossible. However for what do you think
this is good?

> when i pump 5000 packets continously .....the connection
> closes down after some 2000 odd packets ...is this because of hci
> buffer getting full and some kind of queue or buffer overflow??

Show us your code. I have no idea what that is so.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-10 16:28:40

by Manjunath Prabhu

[permalink] [raw]
Subject: Re: [Bluez-users] Kill l2test server

Hi marcel,
The active connection is killed once the client(sender) exits. I want
to kill the listening socket....how can i do this?

when i pump 5000 packets continously .....the connection
closes down after some 2000 odd packets ...is this because of hci
buffer getting full and some kind of queue or buffer overflow??

thanx,
Regards,
Manjunath


On Mon, 10 Jan 2005 16:21:49 +0100, Marcel Holtmann <[email protected]> wrote:
> Hi Manjunath,
>
> > For the l2test, is there a cleaner method to kill the listening
> > receiver. I am using CTRL+C right now. I am trying to kill the active
> > socket....using close(s1)...but it doesn't seem to be working.
> > I want a clean exit.
>
> what do you wanna kill? The active connection or the listening socket?
> If you wanna separate them, then you need to add somekind of signal
> handling.
>
> Regards
>
> Marcel
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-10 15:21:49

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Kill l2test server

Hi Manjunath,

> For the l2test, is there a cleaner method to kill the listening
> receiver. I am using CTRL+C right now. I am trying to kill the active
> socket....using close(s1)...but it doesn't seem to be working.
> I want a clean exit.

what do you wanna kill? The active connection or the listening socket?
If you wanna separate them, then you need to add somekind of signal
handling.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users