Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Jemain

macrumors newbie
Original poster
Mar 16, 2011
5
0
Hello there,

This probably isn't the best place to ask, but I can't seem to find a better one :s .

I want to develop an application that has a server and a client side.
Now I was wondering if anyone could point me in the right direction for some documentation on how these two should communicate. (for things like file exchange(this will be least problematic), operational progress, queue's, 'n stuff)
Apple Developer forums don't really have the greatest layout and don't seem to have any place for a general question like this.

I'm not asking for anyone to give me a bunch of pre-chewed code, I'd just like a link to some documentation about this subject, or come API's that I'd probably need in this scenario.

If anyone could point me in the right direction I'd be very grateful :)

Thanks in advance,
Many Greetz,
 

mydogisbox

macrumors member
Jan 16, 2011
64
0
This is a perfectly good place to ask that question. I haven't done any network programming for OSX myself but a quick look in the cocoa book I have points to NSFILEHANDLE and NSSTREAM as the two classes you might need. Looking over at the apple documentation gives two pages that will probably point you in the right direction.

http://developer.apple.com/library/...le.html#//apple_ref/doc/uid/20000782-BBCFDGFC

http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Streams/Streams.html
 

Jemain

macrumors newbie
Original poster
Mar 16, 2011
5
0
That's because I reported it to the Moderators asking for it to be moved here :p

Thx for that :)
Didn't really find the right forum right away.

And thanks for the answer, I'll have a look at the doc's you linked too.

:)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.