Hi,

A few more details :)

- server: Windows (so absolutely not Cocoa)
- communication : XML messages (need to both send & receive messages)

___________________________________________________________________
Valentin Dan, Software Developer                 Direct: +1 905 886 1833 
ext.3047               
Email: [EMAIL PROTECTED]                 Office: +40 356-710158
Masstech Group Inc.                              Fax:    +40 256-220912
http://www.masstechgroup.com 
 
THIS MESSAGE IS INTENDED ONLY FOR THE ADDRESSEE. IT MAY CONTAIN PRIVILEGED OR 
CONFIDENTIAL INFORMATION.ANY UNAUTHORIZED DISCLOSURE IS STRICTLY PROHIBITED.IF 
YOU HAVE RECEIVED THIS MESSAGE IN ERROR, PLEASE NOTIFY US IMMEDIATELY SO THAT 
WE MAY CORRECT THE RECORDS. PLEASE THEN DELETE THE ORIGINAL MESSAGE. THANK YOU.
 
 
-----Original Message-----
From: Alastair Houghton [mailto:[EMAIL PROTECTED] 
Sent: 10 aprilie 2008 16:52
To: Valentin Dan
Cc: cocoa-dev@lists.apple.com
Subject: Re: networking question

On 10 Apr 2008, at 14:24, Valentin Dan wrote:

> What’s the best way to create a connection to a server in Cocoa +  
> Objective-C ?

It depends what you're trying to achieve.

If your server is also implemented using Cocoa/ObjC, Distributed  
Objects is quite a nice solution.  Or you could use SOAP (e.g. via the  
WebServices framework).  Or you could use any of the things listed here:

   <http://www.cocoadev.com/index.pl?ObjectLibraryNetwork>

Or you could use sockets via NSStream (or CFStream).  Or indeed  
NSURLConnection et al.

There are probably lots of other ways too, but it really depends on  
what you're doing.  You'll have to be more specific about what you  
want if you want a more specific answer.

Kind regards,

Alastair.

--
http://alastairs-place.net



No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.22.11/1368 - Release Date: 09.04.2008 
16:20
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.519 / Virus Database: 269.22.11/1368 - Release Date: 09.04.2008 
16:20
 
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to