A bit late coming back to this I know, but I have a workable, slightly convoluted solution !!
as the portproxy idea suggested above didnt work with udp I went looking for alternative means of doing something along those lines, listen on port 9777 on ipv4 and forward it to ipv6, port 9777 on the same host
The unix utility socat allows just this, so I thought, what the hell, try get a version of that for windows, and found that cygwin was able to do this
Run the cygwin setup from
here
When it comes to selecting packages, search for socat and enable it, it should then install any required dependencies
Open a cygwin terminal and paste in the following
Code:
socat udp4-recvfrom:9777,fork udp-sendto:[::]:9777
Test that it is working (in my case, I used the yatse setupwizard to check event viewer connectivity)
if so, we want it to work at all times, so I created a task that runs at login, indefinately
Kill the cygwin window and create a task..
Computer Manager, Task Scheduler Library, New Task
General - Run whether user is logged in or not (stops command window appearing, enter password when prompted)
Triggers - New, At logon, kodi user
Actions - Start a program
Program/script
Code:
C:\cygwin64\bin\bash.exe
Add Arguments
Code:
-l -c "socat udp4-recvfrom:9777,fork udp-sendto:[::]:9777"
Settings - untick Stop the task if runs longer than
Now all my custom commands are working again in yatse