Network Stream Read Timeout = -1?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Al  G

    Network Stream Read Timeout = -1?

    Does anyone know what a -1 means as a Network stream read timeout?

    Console.WriteLi ne("Timeout= {0}", stream.ReadTime out)

    returns a -1



    Thanks

    Al G








  • Armin Zingler

    #2
    Re: Network Stream Read Timeout = -1?

    "Al G" <agerhart2@nosp am.charter.nets chrieb
    Does anyone know what a -1 means as a Network stream read timeout?
    >
    Console.WriteLi ne("Timeout= {0}", stream.ReadTime out)
    >
    returns a -1
    Usually putting the cursor on ReadTimeout and pressing [F1] shows context
    sensitiv help. :-)

    It says: "The default value, Infinite, specifies that the read operation
    does not time out."

    Infinite is -1.


    Armin

    Comment

    • Al  G

      #3
      Re: Network Stream Read Timeout = -1?


      "Armin Zingler" <az.nospam@free net.dewrote in message
      news:%23JWeZpRD IHA.3548@TK2MSF TNGP06.phx.gbl. ..
      "Al G" <agerhart2@nosp am.charter.nets chrieb
      >Does anyone know what a -1 means as a Network stream read timeout?
      >>
      >Console.WriteL ine("Timeout= {0}", stream.ReadTime out)
      >>
      >returns a -1
      >
      Usually putting the cursor on ReadTimeout and pressing [F1] shows context
      sensitiv help. :-)
      >
      It says: "The default value, Infinite, specifies that the read operation
      does not time out."
      >
      Infinite is -1.
      >
      >
      Armin
      Thanks Armin, I used the help, but didn't find where it actually said
      Infinite is -1.

      Al G



      Comment

      • Armin Zingler

        #4
        Re: Network Stream Read Timeout = -1?

        "Al G" <agerhart2@nosp am.charter.nets chrieb
        >
        "Armin Zingler" <az.nospam@free net.dewrote in message
        news:%23JWeZpRD IHA.3548@TK2MSF TNGP06.phx.gbl. ..
        "Al G" <agerhart2@nosp am.charter.nets chrieb
        Does anyone know what a -1 means as a Network stream read
        timeout?
        >
        Console.WriteLi ne("Timeout= {0}", stream.ReadTime out)
        >
        returns a -1
        Usually putting the cursor on ReadTimeout and pressing [F1] shows
        context sensitiv help. :-)

        It says: "The default value, Infinite, specifies that the read
        operation does not time out."

        Infinite is -1.


        Armin
        >
        Thanks Armin, I used the help, but didn't find where it actually
        said Infinite is -1.
        Alt+F12 (symbol search): Infinite <enter>


        Armin

        Comment

        Working...