Main Content

Network

R2026b
Communication using TCP and UDP protocols

Transmission Control Protocol (TCP) is a client/server packet-based protocol, while Universal Datagram Protocol (UDP) is a packet-based protocol that uses an Ethernet board as a physical layer. Each packet contains bytes provided by an application layer. You can transfer data using these protocols from a real-time application running on your host computer.

Blocks

TCP/IP Receive blockTCP/IP ReceiveReceive data over TCP/IP network from remote host
TCP/IP Send blockTCP/IP SendSend data over TCP/IP network to another remote host
UDP Receive blockUDP ReceiveReceive data over UDP network from remote host
UDP Send blockUDP SendSend data over UDP network to remote host

Topics

Featured Examples