Content

Using UDT connections

The client is able to connect to other devices via the UDT network protocol which is optimized for high speed data transfers. It also contains very handy features for the usage of a client running behind an internet router or NAT device. Furthermore, by using the UDP hole punching technique the configuration of port forwarding at the router becomes unnecessary. Many other popular peer-to-peer software (e.g. Skype) also use this technique to simplify the network configuration process.

 

To configure UDT transfers:

1. Platforms supporting UDT connections:

UDT connections are supported on the following operating systems:

  • Windows XP with Service Pack 3/Vista/7/8
  • Windows Server 2003 / 2003 R2 / 2008 / 2008 R2 / 2012


Please note: The Microsoft Visual C++ Redistributable Package needs to be installed for UDT connections in order to work!

 

Currently, the client doesn’t support UDT on Mac or Linux. Thats because the client is still able to connect with full relayed or HTTP-tunneled connections on these plattforms and since both methods require the traffic to be relayed by a server, the transfer speed might not reach the maximum of your internet connection. We therefore strongly recommend to correctly configure any firewall and router on these platforms for an optimal transfer performance.

 

2. Using hole-punching aka NAT-traversal UDT connections:

By default the client tries to connect via UDT (hole punching mode) in order to make the configuration process as easy as possible if no direct TCP connection can be established. However, before a hole punching UDT connection can be established, it is required that all devices are connected to a server. The server will act as a relay for the connection initialization handshake before the actual communication happens then directly between the connected devices. The client automatically tries to connect to the server and usually gets at least connected via the HTTP tunnel.

To disable UDT hole punching:

  1. Click on Preferences in the main window.
  2. Open the tab Network.
  3. Uncheck the checkbox called Enable UDT transfers and click on OK.
  4. Done! The UDT hole punching has been successfully disabled.

 

3. Using direct UDT connections

It’s possible to directly connect two devices via UDT without them being necessarily connected to a server. This option is disabled by default and only recommend when using the client over a high speed data network. It requires unrestricted communication between the devices without getting blocked by any firewall, router or NAT device.

To enable direct UDT connections:

  1. Click on Preferences in the main window.
  2. Open the tab Plugins.
  3. Select UDT connections and click on Enable.
  4. Next, click on OK.
  5. Done! Direct UDT connections have been successfully enabled.

This feature controls whether the client should try to connect via UDT directly before trying to connect via TCP. When enabled, the client also listens for incoming UDT connections on the configured data port(s). The default port is 1337.


Please note: Due to conflicts of UDT on port 1337 (UDP), the client disables the network broadcasting in LAN, which also uses the default port 1337 (UDP).

 

4. Troubleshooting UDT connections:

To troubleshoot UDT connections:

  • Check whether UDT is available on your platform and wether a Microsoft Visual C++ Redistributable Package is installed.
  • Try to manually connect to other devices in the main window -> Devices -> Search Devices -> Connect, entering the IP and port of remote devices.
  • Execute “netstat -a -p UDP” on the command line. A line containing “0.0.0.0:1337” should be listed (or a different port and network address, if configured).
  • Check the Client Log Files for any problems with UDT components.
  • High CPU load: Disable ZIP compression in LAN under Preferences -> Expert Settings and configure all devices to be detected on LAN via the LAN IPs list under Preferences -> Network.