fix to allow hostnames for peers in tracker responses

This commit is contained in:
Arvid Norberg
2007-03-07 18:50:38 +00:00
parent bf3526f71a
commit 6f0a0beadb
3 changed files with 51 additions and 10 deletions

View File

@@ -1471,7 +1471,8 @@ use_interface()
``use_interface()`` sets the network interface this torrent will use when it opens outgoing
connections. By default, it uses the same interface as the session_ uses to listen on. The
parameter can be a string containing an ip-address or a hostname.
parameter must be a string containing an ip-address (either an IPv4 or IPv6 address). If
the string does not conform to this format and exception is thrown.
info_hash()