Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

to route UDP packets from Windows to WSL, the sudppipe utility is used

Command Windows command line syntax for the use of sudppipe is as shown below:

Code Block
 sudppipe.exe -b <Windows IP> <WSL IP> <WSL port> <Windows port>
Info

<WSL IP> can be retreived by entering

Code Block
ip addr | grep -Eo 'inet (addr:)?([0-9]\.){3}[0-9]' | grep -Eo '([0-9]\.){3}[0-9]' | grep -v '127.0.0.1'

for example, if <WSL IP> is reported as 172.20.71.120:

Code Block
sudppipe.exe -b 10192.168.770.2.112 172.20.71.120 6320 6317

 With the configuration sudpipe running as shown above, start up the pointcloud_writer within the WSL environment, for UDP pointing the UDP connection to <WSL IP> and port to 6320, (not 6317).

Code Block
./pointcloud_writer -i 192.168.0.1 -p 6317 -u 172.20.71.120 -d 6320