Help with Oscp5 library

Hello, I have a problem with the oscp5 library. you will see I have a device that connects via bluetooth to a pc with windows 10 and sends data to a program but to the local ip 127.0.0.1
I use processing to read them but by putting oscP5 = new OscP5 (this, recvPort); If I am connected to the Internet it reads the data from the public address 192.168.x.x but if I am disconnected from the Internet it reads it from the private 127.0.0.1 which is what I need.
Is there a way to be connected to the internet and that the data reach me at ip 127.0.0.1 since it does not send it to the public address?
A hug.

1 Like

Have you tried the oscP5 Ketai example?

1 Like