MOHAMMAD RASIM
MOHAMMAD RASIM

Reputation: 405

In Bittorrent how to announce utp port for other peers

I'm developing a torrent client in Dart, but while implementing utp socket I see no way to announce the utp port looking at the specifications of the main peer discovery mechanisms bep0003 bep0005 I see that they both talk about announcing the tcp port and no talk about announcing the utp port.

Is there some specification/extension to announce to tracker/dht that my port is utp and not tcp? or should peer try to connect to the port using tcp and then try utp if it fails to connect?

Upvotes: 0

Views: 114

Answers (1)

the8472
the8472

Reputation: 43125

It's assumed that the TCP and UDP port numbers are the same.

Upvotes: 1

Related Questions