golang模擬編程tcp模擬http(轉載)

package main import ( "fmt" "net" "strconv" ) //用來轉化int爲string type Int int func (i Int)toStr()string { return strconv.FormatInt(int64(i),10) } func testConn(conn net.Conn){ addr := conn.Rem
相關文章
相關標籤/搜索