sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
107 stars 63 forks source link

Linux network debugging documentation #177

Open xloem opened 1 year ago

xloem commented 1 year ago

Hi,

At https://labstreaminglayer.readthedocs.io/info/network-connectivity.html#unix-linux-macos it is recommended to use socat for network troubleshooting on Linux.

I tried this, but it seemed good to share that I found that socat absorbed my packets, such that network behavior was different while it was running than while it was not.

I'm having more luck with sudo tcpdump -vvnAi lo udp port 16571, where -vv makes it verbose, -n disables name resolution, -A outputs the packet content, -i lo sets the interface, and udp port 16571 says what packets to output.