Re: Communicate Between CocoaAsyncSocket and Java Socket
Re: Communicate Between CocoaAsyncSocket and Java Socket
- Subject: Re: Communicate Between CocoaAsyncSocket and Java Socket
- From: Bing Li <email@hidden>
- Date: Sun, 08 May 2011 20:31:50 +0800
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 <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden