.NET Components for Mobility

Receive multiple files using ObexListener, thread safe?

Last post 09-30-2008 1:46 PM by rkalantari. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-30-2008 11:45 AM

    Receive multiple files using ObexListener, thread safe?

     Is the ObexListener threadsafe? Could I place these calls in another thread so I could receive more than 1 file at a time:

    ObexListenerContext olc = Listener.GetContext();
    ObexListenerRequest olr = olc.Request;

     If not is there a way to do this? I think you should be able to receive up to 8 files a time from bluetooth?

     TIA

  • 09-30-2008 1:46 PM In reply to

    Re: Receive multiple files using ObexListener, thread safe?

     I seem to have gotten this working by putting everything but the Listener instantiation and start in its own thread, seems to work...im a little worried about thread safety but I will look through the library source to see whats in there.

     

    Thanks for the library it works great!

Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.