Crazy???, big picture questions.
Crazy???, big picture questions.
- Subject: Crazy???, big picture questions.
- From: Kevin Bracey <email@hidden>
- Date: Fri, 03 Aug 2012 10:25:37 +1200
I'm not sure if this is an ok question for this list, if not please feel free to email me directly.
I've been speed learning networking and studying examples. and I have 2 questions.
Is it better to use the highest API or the lowest. Some examples work their way up, BSD > Core Foundation > Cocoa, This gives a strange mix. While others try and do it all in Cocoa. There seems to be very mixed messages in the WWDC vids. Early on the message was use the highest layer, but this year it was all about Sockets and Core Foundation. So I'm confused.
Could someone please briefly explain the advantages and disadvantages of using each layer?
My next pondering is again based on my wider ignorance.
It is put forward that we can use HTTP to get a lot of security and other things for "free", but the example RemoteCurrency has no mention of these layers, and seems focused of robust lower level communication.
Am I correct in thinking that the RemoteCurrency example is ideal for an App where the devices on the network need to chat back and forth, while HTTP is more for a main device/server handing out data with limited back and forth.
Could someone please explain the advantages and disadvantages of using these different approaches
Again apologies if this isn't the best place to ask, any books or references would be gladly accepted.
I have a pressing need for a robust networking solution, that I can understand and maintain, and trying to teach an old dog new tricks.
cheers
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden