[go-nuts] exec.Command using network conn for stdin, stdout

2017-04-17 Thread Kevin Johnson
ou for any help or suggestions, Kevin Johnson Here is the code: package main import ( "crypto/rand" "crypto/tls" "crypto/x509" "io" "io/ioutil" "log" "net" "os" "

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

2017-04-17 Thread Kevin Johnson
. (Network non-blocking writes may wait for the entire write to succeed before returning). You might also use the binary.write to write to a local block of bytes and then use the conn send to send them manually, resending the parts when the writes only partially complete. Best of luck, Kevin