dave m.
2016-03-08 05:07:20 UTC
Hi, I'm using libtorrent to learn about BT and DHT. My next project
is to speak uTP to a peer, so I'd like to use utp_stream & friends.
However, I can't find any docs or example code, and my attempts to
replace boost::asio::ip::tcp::socket with libtorrent::utp_stream
haven't worked (I think I have to set an implementation somehow, but I
don't understand how to do it). So, a couple of questions:
* Can a libtorrent-based program make outbound uTP connections, or is
it mostly designed to promote existing / inbound UDP connections to
uTP?
* Is there any sample code or beta docs or anything on how to use
utp_stream & friends?
Thanks!
dhm.
is to speak uTP to a peer, so I'd like to use utp_stream & friends.
However, I can't find any docs or example code, and my attempts to
replace boost::asio::ip::tcp::socket with libtorrent::utp_stream
haven't worked (I think I have to set an implementation somehow, but I
don't understand how to do it). So, a couple of questions:
* Can a libtorrent-based program make outbound uTP connections, or is
it mostly designed to promote existing / inbound UDP connections to
uTP?
* Is there any sample code or beta docs or anything on how to use
utp_stream & friends?
Thanks!
dhm.