• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Iterating OT Ports
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Iterating OT Ports


  • Subject: Re: Iterating OT Ports
  • From: Mark Thomas <email@hidden>
  • Date: Fri, 11 Apr 2003 10:53:35 +0100
  • Organization: Coderus Ltd

I tried that,

extern "C" void
OTGetUserPortNameFromPortRef(
OTPortRef ref,
Str255 friendlyName);

But I think, maybe you were 9.x only not X, or dynamically loading this
symbol within a carbon app, within 9.x.

Unless it got renamed :-(.

Thanks
Mark.

> --- At Tue, 1 Apr 2003 15:13:16 +0100, Mark Thomas wrote:
>
>> Hi,
>> I am iterating the ports which OT has available and testing to see which
>> are of type serial, and then getting the name of the port, but I am confused
>> why OTGetUserPortNameFromPortRef isn't available in Carbon especially when
>> OT can seem to have enough information to say what it is i.e. Serial,
>> Ethernet ..etc.
>>
>> I have commenting out the call, to check to see if I get the right number
>> of ports .. Etc , and everything does look right
>>
>> Is there an alterative to this, and then find the type of the port
>> available ???.
>
> I have always treated this as an oversight. I copied the declaration from
> an older header file and have used it successfully (I think in a Carbon
> app :-)
>
> ...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.

  • Prev by Date: Proxies, Bytes, and CFNetwork
  • Next by Date: Re: Identifying port names for users
  • Previous by thread: Iterating OT Ports
  • Next by thread: clearing-the-basement sale
  • Index(es):
    • Date
    • Thread