This example uses array components of TCP/IP server receive and send blocks as well as related SerialPackager blocks. It needs suitable connecting TCP/IP clients for giving meaningful results.
Caveat: Notice that it was necessary to modify the Modelica code that resulted from graphical editing in Dymola, by manually adapting the underlying Modelica code, namely:
AddInteger addInteger[2](each n=3, each nu=1)
connect(addInteger[1:2].pkgOut[1], tCPIPSend[1:2].pkgIn)