Results 1 to 3 of 3
  1. #1
    Albert is offline Senior Member
    Join Date
    Jun 2007
    Posts
    114
    Rep Power
    0

    Default Help with method unreliable

    I am using the available method to read the input stream in my application and it is giving wrong outputs each time.
    I read in articles that this method is very unreliable.
    Why is the method unreliable?
    What is the solution or alternate to this method?
    Thanks.
    Albert:rolleyes:

  2. #2
    Eric is offline Senior Member
    Join Date
    Jun 2007
    Posts
    111
    Rep Power
    0

    Default

    What method are you using and what errors are you getting?

    Greetings.

    Eric

  3. #3
    Daniel is offline Member
    Join Date
    Jun 2007
    Posts
    91
    Rep Power
    0

    Default

    And I'd also ask what kind of InputStream you're using.

    An InputStream on, for example, a Socket cannot return a reliable number as it might change from the time of the call to the time you try to read.

    Greetings.

    Daniel:o

Similar Threads

  1. Replies: 2
    Last Post: 03-26-2010, 06:12 PM
  2. Method Help
    By pringle in forum New To Java
    Replies: 4
    Last Post: 04-16-2008, 02:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •