Peer to Peer NSConnection
Peer to Peer NSConnection
- Subject: Peer to Peer NSConnection
- From: Sam Goldman <email@hidden>
- Date: Wed, 17 Oct 2001 19:56:33 -0700
OK, I understand how to set up a server/client application, but for chatting
I think it makes more sense to open a peer to peer connection. To set this
up, would I just create a server on both computers and have each app have
clients that communicate with the other's server? Is there a different setup
I would use for P to P?
On a side note, since this will run between two computers, how do I set up a
connection to work with a specific IP? Would I use the following?
theProxy = [[NSConnection rootProxyForConnectionWithRegisteredName:@"server"
host:@" __The server name here__ "] retain];
Thanks,
Sam