Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 51f81a3ba0c3cd748aec2ac480a26f3f205ab4d7
Ticket: 1437595fffffffffffffffffffffffffffffffff
WinSock cores/hangs on thread or app exit
User & Date: vasiljevic on 2006-03-16 03:18:05
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    
    Correct. Once the DLL is loaded OK and all needed functions were found,
    we *should* have a working socket subsystem.
    If at that point ANY of the things fail to initialize, then this is a sign to stop.
    It is better to stop then go halfway on, IMO.
    
    The TclpHasSockets() should not  break and should really just test the 
    winsock.hModule != NULL and return TCL_OK  in that case. 
    
    I guess the only question now is how to get all this done right.
    The tricky part is InitSockets() and TclpHasSockets(). 
    These two must somehow divorce. I'm not yet sure how but
    I will give it a thought today/tomorrow.
    
    I would Tcl_Panic in all cases when something goes wrong in InitSockets()
    if and only if all functions were loaded OK from the DLL.
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. username: "vasiljevic"