UDP Communications in Logic.

UDP Communications in Logic.

Hello, 

I cant get a UDP connection to work in logic. Do i need anything more than udpCreate, udpAddrMake, udpIsValid and udpRcvFrom to recive some test data? I do not have a fieldbus driver or profile or binding. 

udpCreate returns 0. all other return false or 0 too. 

is there an example i can follow? here is what i am trying to follow: 
https://onlinehelp.copadata.com/Content.html?product=supervisor&version=1400&lang=en&id=81354E4FC9C1A3349F63141C1E1495AFF25801A783DABC4885BEEE87F441081F