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