Ubuntu Forums Archive Viewer

How to create socket over PPP connection and NOT over ethernet

Archived thread 2084609 from Mobile Technology Discussions (CLOSED). Markdown source: Mobile_Technology_Discussions_(CLOSED)/thread_2084609_How_to_create_socket_over_PPP_connection_and_NOT_o.md

Original URL About this archive
#1

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.