def listen
import bend-kit-wire@0.4.8.0/wire.bend as Wireimport Base
16# TCP listen on a numeric IPv4 or IPv6 address, nonblocking as Base TCP.listen.
17# Returns the listener and its bound port, so port 0 lets the OS pick one.
18def listen(host: String, port: U32) ->
19 IO(Result<&1, &1, U32 & String, Listener & U32>):
20 import "./effs/wire.c"
21 import "./effs/wire.js"
Uses (6)
Used by (0)
No other definition uses this definition.