开发者

Socket Connection between iphone and mac

开发者 https://www.devze.com 2023-02-12 04:00 出处:网络
I want 开发者_Go百科to establish socket connection between iphone and mac, how to do this? Can you please help with some links or sample code.

I want 开发者_Go百科to establish socket connection between iphone and mac, how to do this? Can you please help with some links or sample code.

My goal is to develop an application that will send an image file from my iphone to my mac.


You could use a variety of options:

1) http://code.google.com/p/cocoaasyncsocket/ To deal with a raw socket connection between your iPhone and mac.

2) http://allseeing-i.com/ASIHTTPRequest/How-to-use Run an http server on your mac and send POST requests from your iPhone with ASIHTTPRequest

3) Make use of some other protocol like ftp or smb or something.

(personally, I'd pick http, it's pretty simple to get going)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号