PDA

View Full Version : How to create socket over PPP connection and NOT over ethernet



rdzurney
November 16th, 2012, 04:46 AM
Greetings,

I have a system where there are two active physical network connections: Ethernet (eht0) and PPP over a USB serial device. I want to create a socket using the PPP connection. How do I "ignore" the ethernet device and only use the ttyUSBx device for the socket? I'm writing an app in C/C++ using Eclipse as the dev environment. Thanks much in advance.

Regards,
Ray.