Re: [go-nuts] Re: i/o timeout when using bufio on net connection (tcp)

2017-04-19 Thread Vasiliy Tolstov
2017-04-17 19:05 GMT+03:00 Kevin Johnson : > Hi Vasiliy, > > I spent a few minutes looking at your program and a couple things jumped out > at me. As you are probably aware, writes on a network socket usually return > the number of bytes written, This is because if the TCP

[go-nuts] Re: i/o timeout when using bufio on net connection (tcp)

2017-04-17 Thread Kevin Johnson
Hi Vasiliy, I spent a few minutes looking at your program and a couple things jumped out at me. As you are probably aware, writes on a network socket usually return the number of bytes written, This is because if the TCP buffer fills, then the write call will return only the amount that got