Hi,
I have a question about the user socket interface.
When I run the scotest -d, I know it will basically call sco_sock_accept in sco.c
Inside it, there is a wait queue and try to find a new socket.
The accept() will be notified when there is a new connection coming from another
client.
My question is: how the bluez notify the user socket "accept()"? Can anyone tell
me where the event is generated and finally notify user socket accept()? Just
need a keyword.
Hope this time someone can answer me. maybe I am keeping asking stupid question
so that nobody wants to answer it.
Bests
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
The HCI event that triggers this is the Connection Request Event 0x04,
probably handled in hci_event.c
2008/7/25 Jui-Hao Chiang <[email protected]>:
> Hi,
> I have a question about the user socket interface.
> When I run the scotest -d, I know it will basically call sco_sock_accept in
> sco.c
> Inside it, there is a wait queue and try to find a new socket.
> The accept() will be notified when there is a new connection coming from
> another
> client.
> My question is: how the bluez notify the user socket "accept()"? Can anyone
> tell
> me where the event is generated and finally notify user socket accept()?
> Just
> need a keyword.
>
> Hope this time someone can answer me. maybe I am keeping asking stupid
> question
> so that nobody wants to answer it.
>
> Bests
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>