Using two network interfaces simultaneously?
Using two network interfaces simultaneously?
- Subject: Using two network interfaces simultaneously?
- From: Roland Torres <email@hidden>
- Date: Fri, 22 Sep 2006 11:34:56 -0700
I have a small device with a fixed 192.168.0.* IP address range that
plugs into my MacBook with an RJ45 cable. In my Cocoa app, I read/
write to the device on (wired) network interface en0 using TCP/IP.
That part works. But what I would like to do also is process the
device data in real time and send it out via TCP/IP over the
MacBook's wireless network interface (en1) to a system reachable via
the internet. I then get a response from that system on en1 and
forward it down to the device over en0.
I know I can have both networks active simultaneously on the MacBook,
but I don't know what I need to do at the app level (system level?)
so that connections/traffic to/from 192.168.0.* go through the wired
interface, and all others through the wireless interface.
OSX 10.4.7, Cocoa
Roland
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden