Home | History | Annotate | Download | only in net

Lines Matching refs:port

8 // corresponding value as port. It is the caller's responsibility to
11 // Some system resolvers will return a valid port number when given a number
15 func parsePort(service string) (port int, needsLookup bool) {
18 // means port 0. See golang.org/issue/13610.
52 port = int(cutoff - 1)
54 port = int(cutoff)
56 port = int(n)
59 port = -port
61 return port, false