On Thu, Jun 26, 2014 at 9:31 AM, Harald Oehlmann <harald.oehlmann@elmicron.de> wrote:
I am asking for a sponsor within the TCT to start the vote on
"TIP 427: Introspection of Asynchronous Socket Connection".

http://www.tcl.tk/cgi-bin/tct/tip/427

Much background information is on the wiki page containing typical use
case scripts:

http://wiki.tcl.tk/socket%20-async

The implementation is ready on fossil branch tip-427.
The missing points are: documentation and tests.

The TIP itself says "targeting TCL 8.7" but I am targeting 8.6.2.
A backport to 8.5 is IMHO also a good thing.

Any comments and discussion welcome.

Sorry to chime in so late, but I find the following sentence rather obscure, and a bit worrying:

  "Each command which touches the socket (i.e. puts, gets, read and fconfigure) will implicitly
   advance the connecting process (at least) one step further through its internal state machine, 
   i.e., try the next IP address in the list if the previous attempt failed."

It might benefit from a bit of detail and a couple of illustrative examples ;-)

-Alex