I am new to socket programming . Recently i have been looking at the codes here in this platform , such as:


This article shows to enable or disable a network interface.

What I want to do is add a new network interface. dummy / Virtual Programmatically. For example the real network interface is eth0 . I want to add eth1 and assign an IP to it ( Programatically)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy