3 Mar 2006 08:58
Setting the serverfd for an OBEX server
Bea Lam <b.lam <at> uq.edu.au>
2006-03-03 07:58:34 GMT
2006-03-03 07:58:34 GMT
Hello, Is there a way to set the serverfd value of an obex_t handle? I'm not very strong in C, but from what I can understand, the obex_t struct is defined in obex_main.h and not the public obex.h, which means the compiler doesn't know obex_t is a struct, so I can't directly set this value if I have an obex_t object. I would like to set the serverfd value so that I can run a bluetooth OBEX service on an existing RFCOMM server which I have already bound and started listening on. I can't call BtOBEX_ServerRegister because that tries to make a new server socket, when I'd like to use an existing one. The only way I can see to do this is to implement a custom transport but that seems a lot to do when I just want to set the server socket. thanks, Bea ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
RSS Feed