Hi everyone,

I've been diving into the Go standard library's net package and have some 
questions about the Dialer function and named services.

1. Where exactly does Go perform the mapping between a service name (e.g., 
"http") and its corresponding port number (e.g., 80)?

 2. Is there a significant advantage or disadvantage to using actual port 
numbers directly instead of named services when dialing connections? If so, 
could you share some insights or point me to relevant resources?

Thanks for your help!

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/bcc3cd3e-e0cd-4580-8d98-266f28054891n%40googlegroups.com.

Reply via email to