See https://golang.org/pkg/crypto/tls/#Conn about how to make a secure network connection. There is an example for the Dial function. For the normal network API see https://golang.org/pkg/net/
Manlio Il giorno mercoledì 3 giugno 2020 alle 09:20:12 UTC+2 Wesley Peng ha scritto: > Hello, > > How do I program with SSL to make a server listen on specific port which > accepts SSL transfer only? > > Is there any guide for this since I have no experience on SSL socket > programming. > > Thanks. > > Wesley Peng > wesleyp...@aol.com > -- 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/3b5abce7-a7e5-4e64-b95f-d734bdfe4e45n%40googlegroups.com.