Bringing Up TCP/IP?
Bringing Up TCP/IP?
- Subject: Bringing Up TCP/IP?
- From: "Duane Murphy" <email@hidden>
- Date: Wed, 31 Dec 2003 13:47:40 -0800
On OS X ...
We have a need to temporarily bring up TCP/IP on an ethernet interface
preferably without modifying the users current network configuration.
If TCP/IP is setup correctly for us to use we can go ahead and use it.
But if the system is currently set to dial the modem or use PPPoE for
example TCP/IP wont work on the local network.
We can discover through other means which physical interface needs to be
brought up, but we then need to use TCP/IP on the interface.
What is the correct way to do this?
I expect that this maybe standard UNIX level kinds of commands which
would be fine. What ever works. C/C++ APIs would be great. Exec-ing
commands is also acceptable.
For example if the current network settings are for dial-up and we detect
that the device that we want to communicate with is on AirPort. then we
would like to bring up TCP/IP on the AirPort interface (usually en1)
I see this as kind of like Rendezvous. In some cases we would want a link
local address. However in other cases, the device we would communicate
with will be a router and we would like to be able to use DHCP with the
interface.
Thank you for your suggestions.
...Duane
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.