FAQ
two issues. one has already been given: you should not ignore the n return which tells you how much data was actually read. and the source of your infinite old data is that you're only doing one read. that is the pre-condition read . after that the pre-condition is never executed again and you there have an infinite loop on a variable that never changes

--

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 6 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedNov 15, '12 at 7:10a
activeNov 15, '12 at 1:10p
posts6
users5
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase