# Revision history [back]

Applications built using Standard Core library always connect to a routing node running on the same device (or a routing node bundled with the application).

Applications using Thin Core library discover routing nodes nearby and connect to one based on a selection algorithm. When TCP transport is used, you can find out then routing node to which a Thin Core leaf node has connected to via the output of netstat command.

When using UDP transport, this determination is more involved. You can either print the unique name of a leaf node which will indicate the routing node to which it connected to or analyze the traffic using Wireshark. Given the nature of AllJoyn (message-based communication between various devices in a LAN), Wireshark is a very valuable tool to debug issues.

In your case, you can also try tuning routing node parameters. A helpful guide is here.