Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e4c15b2338337b030049fc2681eddf9360a1fca1
Ticket: 13d3af3ad5b8e8eb20d673962d442dd64a40af40
IPV6 only used for IPV4/IPV6 sockets on windows
User & Date: oehhar on 2013-11-11 08:48:48
Changes

  1. icomment:
    DKF is right, for async sockets, the event loop might be necessary.
    So I retried  [5d478dc916], the last checkin before commit [aef7ffe46d] fixing bug [3545363fffffffff] was submitted. The first tclsh:
    
    <verbatim>
    % proc accept {s a p} {
         puts $s bye
         close $s
         puts ok
    }
    % set server [socket -server accept -myaddr 127.0.0.1 61680]
    sock192
    % vwait a
    </verbatim>
    
    and in a second console
    
    <verbatim>
    % set client [socket -async localhost 61680]
    sock448
    % vwait a
    </verbatim>
    
    There is no "ok" shown in the server console so I suppose no connection.
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"