• 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: Networking and threading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Networking and threading


  • Subject: Re: Networking and threading
  • From: Dave Keck <email@hidden>
  • Date: Sun, 14 Mar 2004 15:12:59 -0500

I switched to NetSocket, which is based on the CoreFoundation CFSocket stuff. But, CFSocketConnectToAddress seems to be buggy; connecting to closed ports apparently makes the socket connected, and immediately after that, disconnected. I guess it's an Apple bug. It's not just a NetSocket issue, it happens with other CFSocket-based frameworks as well.

I'm wanting to try the OmniNetworking framework. This framework does not support async I/O so I'm going to use threads anyway if I use OmniNetworking.

My question is, is OmniNetworking good? Should I use another networking framework? If I have to implement some threading, what thread framework would you recommend?

I was having this problem a while ago too, then I looked into distributed objects. It works very well and keeps the "objective feel" when talking to Cocoa apps on other computers.

http://developer.apple.com/documentation/Cocoa/Conceptual/DistrObjects/ index.html
http://www.cocoadevcentral.com/articles/000062.php
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Networking and threading (From: Denis Defreyne <email@hidden>)

  • Prev by Date: NSTask, setLaunchPath to remote server
  • Next by Date: Re: Writing a non-NSDocument based multiple document window apps
  • Previous by thread: Networking and threading
  • Next by thread: NSTask, setLaunchPath to remote server
  • Index(es):
    • Date
    • Thread