BMS Logic Academy โ€“ Building Logic One Block At A Time
Knowledge centre / Networking and communications

TCP versus UDP

Engineering tutor ยท Learn the principle, then apply it on site.

What does it mean?

TCP and UDP are ways applications transport data over IP. TCP establishes a connection and provides ordered, reliable delivery; UDP sends individual datagrams without that built-in delivery guarantee.

Let's look at a practical example

Modbus TCP normally uses TCP; traditional BACnet/IP normally uses UDP. UDP is useful for broadcast discovery, but an application may need its own retry or reliability mechanisms.

What does this mean for a BMS engineer?

A TCP connection can fail because the service is not listening or a firewall blocks it. UDP discovery can fail across subnets even if ordinary IP connectivity exists.

What to check on site

Confirm protocol, transport and configured port in the manufacturer manual. A ping is not a test of either TCP or UDP application communication.