pub fn main(world: World) -> Void raises { let net: Net = std.net.host() let addr: Address = std.net.withTimeout(std.net.address("localhost", 8080_u16), std.time.ms(250)) let conn: Maybe = std.net.connect(net, addr) let method: HttpMethod = std.http.parseMethod("GET") if !conn.has && std.mem.eql(std.net.dnsName(addr), "localhost") && method == std.http.parseMethod("GET") { check world.out.write("networking\n") } }