Sockets with LTE and W-LAN
I've got a poroject where i'd like to connect to a device via W-LAN and to a internet server via LTE.
My gpy is working fine, I can connect to the server in the internet or the device with LTE and no W-Lan and vise versa.
Is there a way to tell the socket to use the LTE connection or the W-LAN connection?
Is there some kind of routing table with IPs?
I used UPD sockets. Before sending the first package, you can socket.bind() the socket to the Interface IP address. That way you can select witch socket connection is using the LTE or the W-LAN interface.