Dial connects to the node with remote node id.
(remote proto.NodeID)
| 163 | |
| 164 | // Dial connects to the node with remote node id. |
| 165 | func Dial(remote proto.NodeID) (conn net.Conn, err error) { |
| 166 | return DialEx(remote, false) |
| 167 | } |
| 168 | |
| 169 | // DialEx connects to the node with remote node id. |
| 170 | func DialEx(remote proto.NodeID, isAnonymous bool) (conn net.Conn, err error) { |