// TINYGO: The following is copied and modified from Go 1.26.2 official implementation. // Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix || js || wasip1 package net import ( "context" "errors" ) // lookupProtocol looks up IP protocol name in /etc/protocols and // returns correspondent protocol number. func lookupProtocol(_ context.Context, name string) (int, error) { return 0, errors.New("net:lookupProtocol not implemented") }