Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func main() {
- for i := 0; i < 20; i++ {
- conn, _ := net.Dial("tcp", "localhost:9090")
- fmt.Fprintf(conn, "message test "+strconv.Itoa(i+1)+" \n")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement