Skip to content
Tcl Source Code Artifact [68344473ee]
Login

Artifact [68344473ee]

Artifact 68344473ee3ee59544d0bc57debca78bfcce8d5f:

Ticket change [68344473ee] - New ticket [5425f2c08257f7d9|5425f2c082] <i>Async socket connect</i>. by oehhar on 2013-11-12 08:52:47.
D 2013-11-12T08:52:47.574
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment <h1>Issue</h1>\r\nIn\san\sasyncroneous\ssocket\sconnect,\sthere\smight\sbe\serrors\sflagged\seven\sif\sthe\sconnect\sfinally\ssucceedes.\r\n\r\nThis\sappeared\son\sMAC-OS\sX\swith\stcl8.6.1.\r\n\r\n<h1>Demo</h1>\r\nWe\shave\sa\sserver\ssocket\son\san\sIPV6\senabled\ssystem\swhich\sonly\sbinds\sto\sthe\sIPV4\saddress.\r\nThis\smight\sbe\sdone\sin\sa\stclsh\sconsole\swith\sthe\sfollowing\sprogram:\r\n<verbatim>\r\n%\sproc\saccept\s{s\sa\sp}\s{\r\n\s\s\s\s\sputs\sok\r\n}\r\n%\ssocket\s-server\saccept\s-myaddr\s127.0.0.1\s61680\r\nsock192\r\n%\svwait\sa\r\n</verbatim>\r\n\r\nIn\sa\ssecond\stclsh,\sthe\sfollowing\sis\srun:\r\n<verbatim>\r\n%\sset\sclient\s[socket\s-async\slocalhost\s61680]\r\nsock103825910\r\n%\sfconfigure\s$client\s-error\r\nconnection\srefused\r\n%\supdate\r\n%\sfconfigure\s$client\s-error\r\n%\sfconfigure\s$client\s-sockname\r\n::1\slocalhost\s64153\r\n</verbatim>\r\n\r\nThe\sissue\sis\sthe\sflagged\s"connection\srefused"\sand\sthe\sfinal\sconnect.\r\n\r\n<h1>References</h1>\r\n\r\nReported\sby\sDKF\son\sTicket\s[13d3af3ad5]\sand\scopied\shere\sby\soehhar.
J foundin 8.6.1
J is_private 0
J login oehhar
J priority 5\sMedium
J private_contact 0f366eb3e9e2fcab52b8ebacd197db9047186a5f
J resolution None
J severity Important
J status Open
J submitter oehhar
J subsystem 25.\sChannel\sSystem
J title Async\ssocket\sconnect
J type Bug
K 5425f2c08257f7d9660276c4c8f764ad2d178e1c
U oehhar
Z 82286d710dad6d72cd005bc2b3c9aa93