The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/aws-code/dial.go

19 lines
257 B

package main
import (
"fmt"
"io/ioutil"
"net"
)
func dialMain() { // TODO: temp fix to unblock test
conn, err := net.Dial("tcp", ":9000")
if err != nil {
panic(err)
}
defer conn.Close()
bs, _ := ioutil.ReadAll(conn)
fmt.Println(string(bs))
}