Tcl Source Code

Check-in [c840cf2371]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[Bug 3472316] Document the destructive semantics of [fconfigure -error] on sockets.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA1: c840cf23719b28854ce9942151aa595cd427d371
User & Date: ferrieux 2012-01-12 20:34:59
Context
2012-01-13
11:48
* library/http/http.tcl (http::Connect): [Bug 3472316]: Ensure that we only try to read the socket...
check-in: bb0af2dfb6 user: dkf tags: core-8-5-branch
2012-01-12
20:34
[Bug 3472316] Document the destructive semantics of [fconfigure -error] on sockets. check-in: c840cf2371 user: ferrieux tags: core-8-5-branch
2012-01-09
20:31
[Bug 3464428] string is graph \u0120 is wrong check-in: 14fc5c19b7 user: jan.nijtmans tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to doc/socket.n.

132
133
134
135
136
137
138



139
140
141
142
143
144
145
configuration options for socket channels:
.TP
\fB\-error\fR
This option gets the current error status of the given socket.  This
is useful when you need to determine if an asynchronous connect
operation succeeded.  If there was an error, the error message is
returned.  If there was no error, an empty string is returned.



.TP
\fB\-sockname\fR
This option returns a list of three elements, the address, the host name
and the port number for the socket. If the host name cannot be computed,
the second element is identical to the address, the first element of the
list.
.TP







>
>
>







132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
configuration options for socket channels:
.TP
\fB\-error\fR
This option gets the current error status of the given socket.  This
is useful when you need to determine if an asynchronous connect
operation succeeded.  If there was an error, the error message is
returned.  If there was no error, an empty string is returned.

Note that the error status is reset by the read operation; this mimics
the underlying getsockopt(SO_ERROR) call.
.TP
\fB\-sockname\fR
This option returns a list of three elements, the address, the host name
and the port number for the socket. If the host name cannot be computed,
the second element is identical to the address, the first element of the
list.
.TP