Announcement

Collapse
No announcement yet.

TCP OPEN TIMEOUT value and significance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TCP OPEN TIMEOUT value and significance

    Based on what I've read in these posts, a TCP RECV will not return until either of these conditions
    • the buffer is full
    • it has waited the full timeout period.
    Is that correct?

    If so, in order to receive a blob of data quickly, you must use a very short timeout value since you are required to wait that length of time for the last packet of data, even if you have received the previous N packets very quickly. Is that correct?

    Thanks...

    Garry

  • #2
    Correct, or just send a known full buffer that can be ignored.
    The world is full of apathy, but who cares?

    Comment


    • #3
      Be sure to see last post #6

      User to user discussions about the PB/Win (formerly PB/DLL) product line. Discussion topics include PowerBASIC Forms, PowerGEN and PowerTree for Windows.
      The world is full of apathy, but who cares?

      Comment

      Working...
      X