• 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: OpenTransport behaviour under X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenTransport behaviour under X


  • Subject: Re: OpenTransport behaviour under X
  • From: "Philip D. Wasson" <email@hidden>
  • Date: Fri, 7 Nov 2003 14:02:26 -0500

On Friday, Nov 7, 2003, at 03:33 US/Eastern, Marc Stibane wrote:

I agree. We have networking code that's shared between Mac OS 9 (on top
of GUSI), Mac OS X (native BSD Sockets), and Windows (WinSock). There
are a few #ifdefs, but mostly it's all the same and seems to work
pretty well.

Sure. I would love to. That was my first attempt when starting the port.
However I couldn't get it to compile (Pro 9, PP 2.2, Jaguar):

Ahh, well, that WAS a bit of a pain. It took me a couple days of trying different things to get it to compile. First, you need to use Mac OS X's C library instead of MSL C (but you can still use MSL C++). There is allegedly a sample project that is configured that way, but I must have missed it. There were some conflicts, as far as I could tell, between some of the necessary CodeWarrior precompiled headers, and getting that to work was what took me so long. Again, the sample is supposed to show you how to do it right, and maybe they made it easier with CodeWarrior 9 (I still have 8.3). Also, you have to link to the System framework, which I don't believe is part of a stock Carbon/PowerPlant project. So if there is a sample that shows how to use the BSD C library with Carbon and MSL C++ in CodeWarrior, finding that should take a lot less time (for both of us) than me trying to extract a working sample (which might not even work on CW9). But write back if you can't find it and I'll see what I can scrape together.


----------------------------------------
Philip D. Wasson
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: OpenTransport behaviour under X
      • From: Quinn <email@hidden>
References: 
 >Re: OpenTransport behaviour under X (From: Marc Stibane <email@hidden>)

  • Prev by Date: Rendezvous & VPN
  • Next by Date: Re: Rendezvous & VPN
  • Previous by thread: Re: OpenTransport behaviour under X
  • Next by thread: Re: OpenTransport behaviour under X
  • Index(es):
    • Date
    • Thread