Created
January 30, 2016 03:02
-
-
Save hackintoshrao/fa0deed1018bd6cd1431 to your computer and use it in GitHub Desktop.
trying to connect to a host which doesn't exist on the local network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"net" | |
) | |
func main() { | |
_, err := net.Dial("tcp", "192.168.0.240:8080") | |
panic(err.Error()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment