On Tue, 21 Jun 2011, Iain Hibbert wrote: > I found a problem running obexapp with newer OpenOBEX library, in that it > previously called OBEX_ServerRegister(), passing a sockaddr as requested, > but that the newer OpenOBEX now returns a failure for this.. > > The reason for the failure being that obexapp uses a custom transport and > custom transport handling does not provide any set_local_addr method. > > I'm not sure that the address it passed was significant in any way (and > obexapp does not expect that it is), so just passing an empty address may > have been correct for that, but before I file a bug report with the > obexapp author is it an acceptable regression for OpenOBEX?
I just noticed the comment at OBEX_ServerRegister: Bind a server socket to an Obex service. Common transport have specialised version of this function. If you want to call the listen callback of the custom transport, use NULL for saddr and 0 for addrlen. which implies that this will be a known issue, I will send a patch to obexapp maintainer.. iain ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users