Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c9b5a371cb46bcc87c1de0b3083364e2402a6070
Ticket: 219237ffffffffffffffffffffffffffffffffff
Inconsistent socket error messages between NT and UNIX
User & Date: nobody on 2000-10-26 05:03:58
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 4754 Bug
    Version: 8.3
    SubmitDate: '2000-03-30'
    LastModified: '2000-03-31'
    Severity: MED
    Status: Assigned
    Submitter: sandeep
    ChangedBy: ericm
    OS: All
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    Steps to reproduce:
    1.  socket donexist.com 80
    
    Expected Result:
    "couldn't open socket: host is unreachable" error
    
    Actual Result:
    On Linux and Solaris, you get the expected result.
    On NT, you get "couldn't open socket: invalid argument"
    
    At the least, the error messages should be consistent.
    
    In tclUnixChan.c it looks like it is returning EHOSTUNREACH (and that is supported by the error message printed).  On Windows it looks like it is too, but clearly it's not.  Somebody else must be setting errno.
    
    - eric
    
    -- 03/31/2000 ericm
    
    
    
  4. foundin changed to: "obsolete: 8.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "63. (unused)"
  10. title changed to:
    Inconsistent socket error messages between NT and UNIX
    
  11. type changed to: "Bug"