Is there any way to open a broadcast bluetooth socket, take a listen and send replies? I want a proper peer to peer system where I broadcast and listen for broadcasts in an area. That way, variable clients can mingle. Is this possible?
My theory is this: If GameKit can sit around wasting 25 seconds of the users time whilst having access to a broadcast socket, can't I? Or, must I be in kernel mode for such access?
I'm not really sure where the proper bluetooth headers are as well.
Thanks for reading!
Bluetooth doesn't really have broadcast mode. The closest you can get to it is to have some protocol where one of the players becomes a master of the game, and everybody else connects to him. After that the master must rebroadcast received packets to the rest of the clients. You can build on top of that to have some shared state and make the players re-elect the master if the original one disappears.