Skip to content
Tcl Source Code View Ticket
Login

View Ticket

fconfigure does not include -peername on Windows sockets

Closed / Fixede589d9bdab177b2accead2ca5d50873273d2db8cCreated 3 years agoUpdated 3 years ago
Descriptionmarkdown2024-05-24 15:04:33
% set so [socket www.example.com 80]
sock21631a145f0
% fconfigure $so
-blocking 1 -buffering full -buffersize 4096 -encoding utf-8 -eofchar {} -profile strict -translation {auto crlf} -sockname {192.168.1.3 IO 27746} -keepalive 0 -nodelay 0

Notice lack of -peername in the returned dictionary

Referenced by6
apnadkarniplain2024-05-24 15:07:36
Works in 9.0b2 so recent breakage. Looking ...
apnadkarniplain2024-05-24 16:41:08
Fixed for 9.0 in [63b426f8f2]. Also fixed for 8.7 and added test case in 8.6 (which did not have the bug anyways)
Log in (anonymous is fine) to add a comment.