Yes. Once the connection is established, both endpoints can send requests. So OBEX_MODE_SERVER / OBEX_MODE_CLIENT is not even related to who connects/accept the connection.
Eric. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hendrik Sattler Sent: vendredi 11 janvier 2008 19:00 To: openobex-users@lists.sourceforge.net Subject: Re: [openobex-users] OBEX_EV_REQDONE mode problem in cvs version Am Freitag 11 Januar 2008 schrieb Eric Lapuyade: > As I understand it, MODE_SRV / MODE_CLI are not the same thing than > OBEX_MODE_SERVER / OBEX_MODE_CLIENT. > > MODE_SRV / MODE_CLI are used to remember if we are sending the current > cmd frame or receiving the cmd reply frame, no matter whether we are a > CLIENT or a SERVER. > > OBEX_MODE_SERVER / OBEX_MODE_CLIENT are used to indicate the obex > handle mode (client if we are sending requests, server if we are > receiving requests). >From my understanding, they were supposed to be totally equal: one define exported to the application, one internal to the lib. Is a server ever sending commands? Not that I know of (only responses to client requests). HS ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users