Hello,

Sorry for the repeat posts, they didn't seem to appear on the sourceforge archives so I thought they hadn't been posted.

I'd like to set the serverfd because I'm developing an API for RFCOMM and OBEX communication. The ideal approach would be to allow the programmer to create a RFCOMM server socket, bind to an available port, and then use that socket for either RFCOMM or OBEX communication as they see fit. This seems more flexible and customisable than running an OBEX server on a port designated through the openobex api. And since OBEX communication has an underlying RFCOMM channel, and RFCOMM channels can be started on user-designated ports, it seems to makes sense for my api to allow OBEX services to be run on user-designated ports too.

Thanks,
Bea


Message: 2
Date: Mon, 6 Mar 2006 16:04:42 +0300 (MSK)
From: Alex Kanavin <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: [openobex-users] Setting the serverfd for an OBEX server
Reply-To: [email protected]

On Mon, 6 Mar 2006, Bea Lam wrote:

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.

Why would you need to set up the socket yourself?

Alexander

Homepage: http://www.sensi.org/~ak/



-------------------------------------------------------
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
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to