I’m trying to start developing a little plugin. I got the vvvv-sdk from github, was able to successfully build my first test node and use it in vvvv.
However, I struggle a little bit with understanding how data is being passed between nodes. My plugin is supposed to parse a byte stream received from UDP. Now I tried to do the following:
[Input("input data")] IDiffSpread<byte> FInput;
however, in vvvv I am not able to connect the output pin of UDP (Network Server) to my input pin. For testing I was thinking of using Byte (Text) as a node just generating input as taken from an ASCII string IOBox, but I also can’t connect its output. I also tried
int instead of
byte, no success.
Moreover, I am not sure if this is the best way to go in the first place. What I actually expect is not getting my input as a spread of varying size depending on the data I read from UDP, which, depending on the implementation, may or may not be efficient, but as something like a
ByteStream or such (i.e.
IDiffSpread<byte> or similar).
A few questions arise:
- What is the output type of *UDP (Network Server)
- How can I figure out such things without asking in the forum (i.e. is there a documentation for that?)
- Are there examples out there that I can hold on to for making my first steps?
Thanks for your help.