I ran this same program: 
https://www.thepolyglotdeveloper.com/2017/05/network-sockets-with-the-go-programming-language/
:

in Linux, and the output was exactly as expected. But on Windows, I was 
seeing unexpected results. Sometimes just a newline printed. Sometimes the 
entire buffer printed, but it was all whitespace. But it worked fine on 
Linux. Any ideas? At first I thought it was related to the concurrency, but 
the app never ended or broke connections unexpectedly, but then it worked 
fine on Linux

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to