Skip to contentSkip to conversation

Kill l2test server

Bluez-users Manjunath Prabhu 2 participants 4 messages Jan 10, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw

Hi Manjunath,

Quoted 4 lines

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

#2 lore raw

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

Quoted 15 lines · Marcel Holtmann

Hi Manjunath,

Quoted 4 lines

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

Quoted 9 lines

-------------------------------------------------------
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

maintainer
#3 lore raw

Hi Manjunath,

Quoted 2 lines

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?

Quoted 3 lines

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