.
D 2000-10-26T00:56:19
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s3930\sBug\nVersion:\s8.2.2\nSubmitDate:\s'1999-12-23'\nLastModified:\s'2000-01-10'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sLinux-Red\sHat\nOSVersion:\sLinux\sMandrake\s6.1\s-\s(Redhat\scompatible)\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-01-10'\n\n\nName:\nSL\n\nReproducibleScript:\nproc\sread\s{sock}\s{\n\s\sglobal\sgotread\s\n\sputs\s"READ\s->\s[gets\s$sock]"\n\s\sset\sgotread\s1\n}\nset\ssock\s[socket\stwoup.q-net.net.au\s23]\nvwait\sgotread\n\nObservedBehavior:\nJust\ssits\sand\sdoes\snot\srespond\s(except\sfor\sCTRL\sC\s/\sCTRLZ\setc\setc)\sbut\sthe\sgets\scommand\sjust\shangs\sthe\sscript\n\nDesiredBehavior:\nwell,\sfor\s*something*\sto\shappen?\sand\sfor\sit\snot\sto\slock\sup\n\n\n\nThere's\ssomething\selse\sgoing\son\shere,\sthat\swasn't\sproperly\sentered\ninto\sthe\sbug\sreport\s(important\sinfo).\s\sThis\slittle\ssnippet\swill\nalways\shang,\sas\sexpected,\sbecause\sthe\suser\sis\sessentially\smaking\na\ssocket\scall,\sand\sthen\sdoing\sa\svwait.\s\sThe\sproc\sthat\sis\sdefined\nwill\snever\sbe\scalled.\s\sThere\sis\sno\suse\sof\sfileevent,\sand\sthe\nuser\slikely\swants\san\s-async\ssocket.\s\sAlso,\sit\sis\sunlikely\sthat\nredefining\sthe\score\s"read"\scommand\sis\sa\sgood\sidea.\s\sThe\suser\sshould\nlook\sat\sthe\ssocket\sexamples\sin\sthe\sTcl\sFAQ:\n\s\s\s\shttp://www.purl.org/net/tcl-faq/\nfor\ssome\spremade\sstuff,\ssince\sthere\sare\salready\ssome\sbasic\stelnet\ncommunication\sscripts\sthere\sas\swell.\s\n--\s01/10/2000\shobbs
J foundin obsolete:\s8.2.2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 63.\s(unused)
J title socket\scommand\swith\stelnet\sservers
J type Bug
K 218332ffffffffffffffffffffffffffffffffff
U nobody
Z f2d10d20e6fabb1262b731547b8a998b