Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

kmac

Open Transport Help

This topic is 6155 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm a beginner network programmer, and I'm trying to make a networked card game. The platform I have to work on is Macintosh, so I have to use Open Transport. I downloaded the samples from apple.com, but they are anything but self explanatory, and I am unable to open the project files with the version of codewarrior I'm using, making it difficult to compile them. Does anyone have any simple source code that sends information over TCP/IP with Open Transport, or better yet know where a tutorial is about this? I have looked extensively on Google, but found nothing . Thanks KMac PS-If there is a better alternative to Open Transport, please let me know...I'm just guessing that this is the best judging from what I found about Mac network programming from Google. Edited by - kmac on November 20, 2001 8:47:26 PM

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
If you are using OSX, you can use BSD sockets (or a wrapper around them - many exist).
If you are on an older version of MacOS, OT is the way to go. However, if you are using CodeWarrior I think PowerPlant (Metrowerks'' C++ framework) includes a few network classes that hide most of the OT stuff. I wish I could give you more information but I haven''t used PowerPlant in a couple years, and these days I''m on OSX.

Matt

Share this post


Link to post
Share on other sites
I''ve been looking into Power Plant as you suggested, and I think I''ve finally got it working (but the Power Plant documentation isn''t all that great either )

And if anyone wants to email me (kmccusker@mail.com) if you''re looking for help with PowerPlant Networking, let me know, I could tell you what I''ve figured out.

Thanks,
KMac

Share this post


Link to post
Share on other sites
I have to agree with all the comments posted above... OT can be a can of worms to make stable. PowerPlant does a very nice job abstracting it away, but you may still need a little OT debugging knowledge to get things working just right. If you are using OSX, then BSD sockets is a tried and true API.

If you have specific questions on any of the above, you can swing by #macdev on irc.openprojects.net for a kick in the right direction.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!