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 188.8.131.52) I must specify the interface :
ping -I eth0 184.108.40.206 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 ?