Hi Hendrik, I've looked at it again and I've realised it's possible to recognise the Delete and Create commands without a patch. To work around it, the user just has to keep track of whether the OBEX_EV_STREAMAVAIL event is received or not in order to determine whether the command is a Put-Delete, since this event is not received if no Body nor End-of-Body headers are received while streaming a Put.
To recognise a Create command, the user needs to recognise Delete commands; i.e. if it's a Put operation that's not a Delete, and the body length is zero, it must be a Create. So with this workaround, the Create command cannot be recognised without also recognising the Delete command. Thanks for going through the patch. Regards, Bea ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Openobex-users mailing list [email protected] http://lists.sourceforge.net/lists/listinfo/openobex-users
