Hello :
Now,I'm programming with RFCOMM socket. I can use RFCOMM=
socket to connect with my PDA,but I don't know how to catch the
disconnection event when PDA disconnect the RFCOMM connection=
between them first. What shall I do ?
Thanks.
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1Jin Pu
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi,
> Now,I'm programming with RFCOMM socket. I can use RFCOMM socket to connect with my PDA,but I don't know how to catch the
> disconnection event when PDA disconnect the RFCOMM connection between them first. What shall I do ?
use select() or poll() and check for a HUP signal.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users