Binding web requests to specific network adapter
问题 Background I have a mobile embedded device (Ubuntu/Mono) with 2 network adapters. One is WiFi and the other is GSM. The requirement is that when the WiFi adapter is connected to the internet (within range of a predetermined AP), the application uploads data ( HTTPS POST ) via WiFi but when WiFi is not available, but GSM is, it uploads data via GSM link. Testing In order to achieve this, I created a cloud-based webservice that returns OK if you issue a HTTP GET to it. The idea is to have a