I was having problems reading data from a TCP port, when I stumbled across this very helpful stackoverflow post that answered my question:
I read the accepted answer and was about to implement a solution when I realised it was akin to the one suggested in a later answer by user Janman (downvoted by 2 at the time of writing). The answer in question has a big fat "Definately Not" comment by the accepted answerer, but in my opinion it's still very valid information.
So how should we treat these? The system promotes the deletion of downvoted answers (Peer pressure), but sometimes 'how not to do it' is valid information.