Dear Chris, Thanks so much for your reply!
I believe TCP can be used between Java and iOS. However, I worry that particular serialization exists in CocoaAsyncSocket so that Java cannot deserialize successfully. Do you think the issue exists? Best regards, Bing On Sun, May 8, 2011 at 6:40 AM, Chris Hanson <c...@me.com> wrote: > On May 7, 2011, at 1:50 PM, Bing Li wrote: > > > I attempt to use CocoaAsyncSocket to communicate with Java server/client. > Is > > it possible to achieve the goal? > > Yes, at least in the abstract; TCP is TCP. > > You don't need to use CocoaAsyncSocket if you don't want to - you can just > use the BSD-level socket(2) API if you like. Or you can use NSFileHandle or > CFSocket. Or any of a number of other wrappers. > > -- Chris > > _______________________________________________ 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 arch...@mail-archive.com