Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4f5704a36a87b55361d3b84a8d601367516bfae2
Ticket: 1329754fffffffffffffffffffffffffffffffff
sockets lose data on Windows
User & Date: dgp on 2006-01-11 04:11:29
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    looking at this again, it appears
    that what it required on the client
    side to avoid data loss is *both*
    an [fconfigure -blocking 1] and
    an explicit [close].
    
    If the client side is left non-blocking
    data is lost.  If the [close] command
    is not explicitly done, then the implicit
    close that should happen during [exit]
    loses data too.
    
    Note that it's all changes on the client
    side of the connection that make a difference.
    Configuring the server side doesn't seem to
    play a role at all, which suggests to me
    the problem is not with the read side of
    things.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"