Im trying to write to a TCP socket in Go but only receive "invalid argument" with this code:
_, err := conn.Write([]byte("test")) if err != nil { fmt.Println(err.Error()) }
1.4m articles
1.4m replys
5 comments
57.0k users