I just observed that when user socket is listening. The debug message following the listen() function will be printed before the message in sco_sock_listen(). So... I guess it's because the "printk in kernel" and "syslog in user space" are running asynchronously in /var/log/messages. Jui-Hao ------------------------------------------------------------------------- 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 Bluez-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/bluez-devel