Good morning, everyone. I need to choose which port to use when sending a UDP packet, but it looks like the available nodes only let me select the destination port, not the source port.
That sounds unusual. Can you elaborate on your usecase?
The UDP (Network Client) node used deep inside the NetSend node pictured in your screenshot is returning the Local Port it uses. So you can inspect it (using the Inspektor), but you cannot set it.
If you really need to set it (and anyway) I’d recommend using vvvv gamma for such a task, where this is entirely possible.
The issue is that I need to send a request to a device on the same Ethernet network.
That device will reply using the same port the request came from.
But if I don’t manually specify the source port, Windows assigns a random ephemeral port that immediately closes after sending the packet.
As a result, I can’t receive the reply through NetReceive.
This is why I need control over the source UDP port.
And yes, I would really love to finally learn Gamma! I’ve been wanting to try it since release, but I never find even half an hour free. Maybe one day someone will run a proper workshop somewhere. let’s organize a NODE in prague
try like this:
the Local Port output on the UDP node is hidden by default (use inspektor to show it).
The most proper workshops are run regularly online. It is not too late to join the current one.
ok, then i’m afraid, in vvvv beta your only option is writing a dynamic plugin doing the socket handling yourself. but at that point doing things with vvvv gamma might be quicker…


