TODO
This commit is contained in:
parent
65e1bbb6ba
commit
37eece626b
@ -269,6 +269,8 @@ func (me *Client) initiateConn(peer Peer, torrent *torrent) {
|
|||||||
IP: peer.IP,
|
IP: peer.IP,
|
||||||
Port: peer.Port,
|
Port: peer.Port,
|
||||||
}
|
}
|
||||||
|
// TODO: Specify local address so that peers associate our address
|
||||||
|
// with our listen address.
|
||||||
conn, err := net.DialTimeout(addr.Network(), addr.String(), dialTimeout)
|
conn, err := net.DialTimeout(addr.Network(), addr.String(), dialTimeout)
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user