Skip to content
Tcl Source Code View Ticket
Login

View Ticket

socket documentation imprecise

Closed / Fixed2957688fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 10 years ago
Descriptionplain2010-02-24 00:52:18
socket manpage states "Tcl  then invokes command with three additional arguments" it should read 'command prefix', not command.
dkfplain2010-02-24 17:12:13
allow_comments - 1

Fixed on HEAD. Not important enough to backport.
dgpplain2016-03-08 15:31:38
This issue has come up again on the trunk.

This documentation change did not have any 
accompanying implementation change, or any
function change request or TIP that I know of.

The fact is that the implementation has not
been limited to a command prefix, but has
supported any script prefix.  After the
appending of 3 additional words, Tcl_Eval
does not care how many commands are in the
generated script to evaluate to react to accepting
a socket connection.

I prefer command callbacks over script callbacks
myself, and when the compat restrictions are open I'd
support this kind of change, but it shouldn't sneak
in the docs, and then sneak in the implementataion
(that's what the docs say!) -- at least IMO.
dkfwiki2016-08-20 16:25:07

Raise a new bug report and reference this one.

Log in (anonymous is fine) to add a comment.