Created
December 19, 2016 08:57
-
-
Save yanzay/cabd0ca91d98ab35e3e24281a59d9a35 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
func processClient(conn net.Conn) { | |
_, err := io.Copy(os.Stdout, conn) | |
if err != nil { | |
fmt.Println(err) | |
} | |
conn.Close() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment