External gyroscope question

So I have an external IMU (gyroscope) (not on phone or PC) and I want to use the data gathered from that IMU in my Unity game. How would I enable Unity to accept this data?

I have a windows PC.
Currently I am using a TCP connection between my IMU and PC through mobaXterm terminal and I am able to receive the IMU data.

Would using my external IMU data be possible? If it is, how involved is the process/can someone give advice on how it could be done?

I’m pretty sure you can access C# .NET Socket classes, but only for Windows development. So, as long as you’re doing it on Windows, you should be able to hook it up to the sensor the same way you’d hook up any other C# program. Beyond that, though, would not be a Unity question, and would probably be better asked elsewhere.