.NET Components for Mobility

ObexWebRequest error "BadRequest"

Last post 07-05-2008 5:18 AM by qg163. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 06-27-2008 4:23 AM

    • qg163
    • Top 50 Contributor
    • Joined on 04-18-2008
    • Posts 9

    ObexWebRequest error "BadRequest"

    When " response = request.GetResponse()  "  the "response.StatusCode.ToString"="BadRequest"

    i found the error is raise by

     ObexWebRequest.Connect

      "s.Connect(bep);"  

    ----- raise SocketException 10061

     BUT the error not always.... only sometimes ...

  • 07-02-2008 6:28 AM In reply to

    Re: ObexWebRequest error "BadRequest"

    10061 is WSAECONNREFUSED.  Which means that the service couldn't be found on the peer device.  Is the OBEX server there always running?
     

    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.
  • 07-03-2008 12:11 AM In reply to

    • qg163
    • Top 50 Contributor
    • Joined on 04-18-2008
    • Posts 9

    Re: ObexWebRequest error "BadRequest"

    yes,the OBEX server always running.. this error only raised when i use muilti-thread OBEXOBJECTPUSH ... and it's Stochastic...
  • 07-04-2008 5:19 AM In reply to

    Re: ObexWebRequest error "BadRequest"

    So maybe the server can only handle a small maximum number of connections?

    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.
  • 07-05-2008 5:18 AM In reply to

    • qg163
    • Top 50 Contributor
    • Joined on 04-18-2008
    • Posts 9

    Re: ObexWebRequest error "BadRequest"

    In fact , in every thread ,   i connet to a diffrent obexserver  @_@

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