Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: af9631c37c78100179ae2abb915701c1dc3caecb
Ticket: 578164ffffffffffffffffffffffffffffffffff
socket-2.4 fails on WinNT
User & Date: andreas_kupries on 2002-07-09 04:38:16
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Sorry, I am unable to reproduce this on my Win2K system. 
    Does this happen for every run, or only now and then ? How 
    many server sockets are open on your system ? Maybe you 
    exceeded what the system allows.
    
    The only possible sync problem which might exist is the race 
    between reading the port number from the pipe and opening 
    the socket in the caller, and writing the port number and 
    entering the event loop in the server. I am unsure about this 
    because the server socket already does exist at that time 
    and maybe the OS buffers a connection request coming in, 
    before the event loop starts looking for such events.
    
    And this we should be able to avoid with a small delay 
    between 'gets $f listen' and the 'socket' command. [after 
    1000] or so.
    
    Can you test this ?
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"