Communicating on Specific Ethernet ports
Communicating on Specific Ethernet ports
- Subject: Communicating on Specific Ethernet ports
- From: Mark Thomas <email@hidden>
- Date: Thu, 21 Oct 2004 12:29:38 +0100
- Organization: Coderus Ltd
Hi,
I'm trying to work out whether its possible if I can send out some TCP/IP
traffic on a specific Ethernet device. I think this is possible using OT via
something like
OTOpenEndpointInContext(OTCreateConfiguration(PortRecord.fPortName), ...
Where PortRecord has come through iterating the OTGetIndexPort, one thing
I'm wondering what happens if this port isn't selected/checked in the list
of ports in the network configuration system preference's panel. Would it
still allow traffic through it ???.
Also,
Is there a way to do this via BSD sockets ???, I'm still learning about
these. As to me it seems to use the default adapter ???.
(Somebody recommended a book "UNIX Network Programming, Volume 1, Networking
APIs: Sockets and XTI", would that be able to help in the looking socket
equivalents of OT or XTI.
Thanks
Mark.
_______________________________________________
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