PDA

View Full Version : Apple Developer - Question




Jemain
Apr 13, 2011, 04:41 AM
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
Apr 13, 2011, 07:27 AM
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/mac/#documentation/Cocoa/Conceptual/LowLevelFileMgmt/Articles/FileHandle.html#//apple_ref/doc/uid/20000782-BBCFDGFC

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

robbieduncan
Apr 13, 2011, 07:37 AM
This is a perfectly good place to ask that question.

That's because I reported it to the Moderators asking for it to be moved here :p

mydogisbox
Apr 13, 2011, 07:48 AM
Ah. Good call.

Jemain
Apr 18, 2011, 05:27 AM
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.

:)