dcsimg
NIC start/shutdown in Java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, September 15, 2003 12:33 PM

Is there a way to start/stop Network Interface Card(s) in Java? Must I use native methods?
Thank you.

Re: NIC start/shutdown in Java

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, September 15, 2003 12:46 PM

Runtime.exec, of "ifconfig up|down" on Unix, "ipconfig" on Windows? assuming you are running as root (Unix) or local Administrator (Windows)...

About | Sitemap | Contact