Codesnippets > Userlibs [ *.gbal]

[iPhone] Bluetooth Multiplayer

(1/9) > >>

trucidare:
Hi There,

here is some Bluetooth Multiplayer blah

Add these lines into your Project.

--- Code: GLBasic ---IMPORT "C" void GLB_iBT_Init()
IMPORT "C" void GLB_iBT_Start(const char* sessID)
IMPORT "C" int GLB_iBT_Send(const char* strValue)
IMPORT "C" const char* GLB_iBT_Recv()
IMPORT "C" int GLB_iBT_Connected()
 
use this functions in your game. Init at start of your Program, Start opens the Bluetooth search dialog.

to compile add attached lib and GameKit.framework to your xcode project.



[attachment deleted by admin]

Marmor:
great ! :happy:

bigsofty:
Another fine release, well done Truci!  :good:

Can anyone recommend a good link on Bluetooth networking? Its completely new to me.

fjsantosb:
Hi there,

As usual another great work coming from trucidare!

Thanks for sharing!

King Regards, fjsantos.

codegit:
Trucidare iz da man  8)

Navigation

[0] Message Index

[#] Next page

Go to full version