string hosts in net.*
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
func main[] : i64
|
||||
~s, ok := net.listen(net.pack_addr(127, 0, 0, 1), 8000)
|
||||
~s, ok := net.listen("127.0.0.1", 8000)
|
||||
if !ok
|
||||
panic("failed to listen")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user