<i>[info hostname] on Windows is limited to max NetBIOS name length</i> status still Pending with 3 other changes
by
.
D 2020-02-21T17:27:04.104
J icomment Sorry,\sI\sdon't\sknow\show\sto\sview\sthe\spatches\syou\shave\screated\s--\sI\stried\slooking\sin\r\nhttps://core.tcl-lang.org/tcl/brlist\sbut\sI\scouldn't\sfind\sthem.\r\n\r\nIn\sany\scase,\sI\sthink\sGetComputerNameExW\sis\sthe\sright\smethod\sto\suse,\sand\sit\sshould\s\r\ntry\sDNS\sfirst\sand\sthen\sNetBIOS.\s\sThe\sentire\sproblem\shere\sis\sthat\sTcl\sis\spreferring\s\r\nthe\sNetBIOS\sname\sinstead\sof\sthe\sDNS\sname.\s\sI'm\snot\seven\ssure\sit's\spossible\sto\sget\s\r\na\sname\slonger\sthan\s15\scharacters\sfrom\sNetBIOS\s--\sthat\sis,\sI\sdon't\sknow\sif\sthat\sis\s\r\na\slimit\sinherent\sto\sNetBIOS\sor\sif\sthat\sis\s"just"\sa\slimit\sof\sGetComputerNameW.\s\sIt\s\r\nseems\sbest\stherefore\sto\sdefault\sto\sthe\sDNS\sname,\sand\sonly\stry\sfor\sthe\sNetBIOS\sname\s\r\nif\sthere\sis\sno\sDNS\sname.\r\n\r\n-\semelski
J login anonymous
J mimetype text/plain
K da235271f1e5c582eb54a93a893a85c2cbe2b76c
U anonymous
Z 8a9bd24e68159036bbc24ceee972b365