.NET Components for Mobility

Cancelling an OBEX push during transfer

Last post 09-11-2007 6:42 AM by alanjmcf. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-11-2007 3:45 AM

    Cancelling an OBEX push during transfer

    Hi there,

    Firstly, I know this is way late, but inthehand is a great toolkit Big Smile. My actual question relates to pushing an OBEX object, say an image for now, from a phone to a listening PC. If I cancel the transmission before it is done my code hangs on this line,

    obexListenerRequest.WriteFile(ROOTPATH + DATA_PATH + clientDeviceInfo.DeviceAddress + "\\" + filename); // store file

    I was expecting it to throw an exception that I could catch and handle. Any ideas before I dig into the source code? It may be because the OBEX server is waiting for more bytes?

    Thanks

    Drew
     


     

    Filed under:
  • 09-11-2007 6:42 AM In reply to

    Re: Cancelling an OBEX push during transfer

    See whether it's the same problems as discussed at http://32feet.net/forums/p/856/2569.aspx.  This is something that should be fixed in the library.  So let us know if that is the issue.

    Alan J. McFarlane
    http://www.alanjmcf.me.uk/
    Please follow-up in the newsgroup for the benefit of all.
    Have I helped? Consider visiting my Amazon wishlist, see my homepage.
Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.