Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 77e75517ff4c52ae08e74a5fa22c893242362d2c
Ticket: 1555698fffffffffffffffffffffffffffffffff
socket name corruption
User & Date: matben on 2006-09-12 20:49:16
Changes

  1. icomment:
    Logged In: YES 
    user_id=108900
    
    The problem seems unrelated to the udp package since the test case is 
    configured for tcp. The dns package then uses the standard tcp socket 
    as:
        set s [socket $state(-nameserver) $state(-port)]
        fconfigure $s -blocking 0 -translation binary -buffering none
    
    Pat: using your bug1555698-tcp.tcl I just get a lot of stack traces (after 
    changing ripon to $host in CreateSocket):
    [Mats-Bengtssons-dator:~/Desktop] matben% tclsh bug1555698-tcp.tcl 
    google.com 80
    created sock5 49817
    can't get sockname: connection reset by peer
        while executing
    "fconfigure $s -sockname"
    
    On WinXP I could only see the problem once and then I never reproduced 
    it.
    MacOSX is using the standard unix socket code so I don't believe there is 
    anything special with that. Unless it is the system socket stack.
    
    
  2. login: "matben"
  3. mimetype: "text/plain"
  4. username: "matben"