I would like to send data to my server from a Raspberry.
The Raspberry is connected by Wi-Fi to a network, and by Ethernet to my server.
When I try to ping my server (at 126.96.36.199) I must specify the interface :
ping -I eth0 188.8.131.52 otherwise, I have an error message :
In my Android Things App, I have the same error. I think I have to "say" to my raspberry to send the request on eth0.
Is it possible to specify on which interface we want to contact an address on Android Things App ?