user629908
user629908

Reputation: 31

how to create a remote connection between two machines using objective C

i am new to Objective C . Basically i just wanna know how to write a simple program by which i can send a number from one machine and display it on the other. do i need to use sockets or is there any other way..? i am familiar with java and c++.

Upvotes: 2

Views: 536

Answers (4)

Tommy356
Tommy356

Reputation: 252

I actually found a way to make DO working on iOS/OSX using a custom framework. Check out this: Distributed Objects on iOS ([1]: http://tkrautter.wordpress.com/2013/10/28/distributed-objects-on-ios)

Upvotes: 1

Swapnil Luktuke
Swapnil Luktuke

Reputation: 10475

you can use game kit to communicate between two devices via bluetooth or wi fi. check game kit programming guide. you can see the code samples GKTank, GKTapper and GKRocket which implemet the game kit api

Upvotes: 0

Bogatyr
Bogatyr

Reputation: 19333

The top answer to this question mentions a Cocoa way of doing this (Distributed Objects): Objective-C networking - best practices?

Upvotes: 0

benhowdle89
benhowdle89

Reputation: 37504

Maybe have both machines reading from the same database?

Send a value to a PHP script?

Read the database on both machines?

Upvotes: 0

Related Questions