Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Feix C feix

💭
I may be slow to respond.
  • Beijing
Block or report user

Report or block feix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@feix
feix / tcp_timeout.go
Created Jun 12, 2018 — forked from hongster/tcp_timeout.go
Golang example on handling TCP connection and setting timeout.
View tcp_timeout.go
package main
import (
"fmt"
"net"
"time"
"bufio"
)
func handleConnection(conn net.Conn) {
You can’t perform that action at this time.