Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bdffea39cee18c4699234538d37a08aac25b6783
Ticket: 1555698fffffffffffffffffffffffffffffffff
socket name corruption
User & Date: patthoyts on 2006-09-12 20:18:12
Changes

  1. icomment:
    
    
    File Added - 193148: bug1555698-udp.tcl
    
    Logged In: YES 
    user_id=202636
    
    I cannot see any reason why the tcludp package should
    produce name collisions as it creates socket names the same
    way that tcl does, namely appending the filedescriptor
    number to 'sock': sprintf(channelName, "sock%d",
    statePtr->sock);
    I cannot get this problem to occur on Windows XP using tcl
    8.4.13 or tcl8.5a5 with/without udp-1.0.8. I'm attaching the
    two test scripts (one just uses tcp sockets - try against a
    web server, the other uses udp TIME service and needs a host
    listening for TIME protocol on port 37 tcp and udp.)
    Perhaps MacOSX will fail with these?
    
    
  2. login: "patthoyts"
  3. mimetype: "text/plain"
  4. username: "patthoyts"