Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b36767eba6a3c32a96833605a27d9ce93f219777
Ticket: 681499ffffffffffffffffffffffffffffffffff
socket -server fails to run command in tclsh
User & Date: nobody on 2003-02-06 06:27:38
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    'socket -server command port' should set 'command' to
    be run whenever a client attempts to connect to 'port',
    but it does not.  Specifically, I run the following in
    tclsh8.3:
    
    proc temp {channel address port} {
      puts "channel $channel address $address port $port"
    }
    socket -server temp 2000
    
    I then run the following in a second tclsh8.3:
    
    socket myhost 2000
    
    I expect to see the puts command's output appear in the
    server's shell, but this does not happen.
    
    I have run the same code successfully with the server
    in a wish8.3 shell and in an expect shell, both using
    the same local .rc file as tclsh does.  The client's
    shell seems to make no difference.  The server also
    failed in tclsh8.0.
    
    I am running Debian linux 3.0 with kernel 2.4.18,
    tcl8.3 version 8.3.3-7, and glibc 2.2.5-10.
    
    Ashley Gadd
    [email protected]
    
  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: "18. Commands M-Z"
  10. title changed to: "socket -server fails to run command in tclsh"
  11. type changed to: "Bug"