Re: Networking and threading
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.