I am trying to write an array from controller to a PC using UDP, I am able to create the socket, open the connection, however when I go to write the data, I get a communication error "16#0000_0204#
If you at least put you code here, we may be able to help.
All errors usually related to the improperly configured message UDTs or MSG path
I would recommend to get sample application from TN 32962 and start there.