boom
This commit is contained in:
+5
-1
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net"
|
||||
)
|
||||
|
||||
@@ -12,6 +13,10 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
go func() {
|
||||
log.Println("SERVER | listening on port 5000")
|
||||
}()
|
||||
|
||||
for {
|
||||
// read
|
||||
buf := make([]byte, 512)
|
||||
@@ -29,5 +34,4 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user