LocalAddr returns the local network address.
()
| 138 | |
| 139 | // LocalAddr returns the local network address. |
| 140 | func (c *CryptoConn) LocalAddr() net.Addr { |
| 141 | return c.Conn.LocalAddr() |
| 142 | } |
| 143 | |
| 144 | // RemoteAddr returns the remote network address. |
| 145 | func (c *CryptoConn) RemoteAddr() net.Addr { |
no outgoing calls