Hi,
I'm after a little guidance as to how best to make my application networkable. Trying to decipher the WiTap example is proving difficult and leaves me with some questions.
What is the general procedure for networking two instances of an application? I figure you use NSNetService/NSNetServiceBrowser to find a service, then use a TCP class to make the connection. Does the TCP class manage the peers or is that usually the job of the main application? Does the TCP class outline protocols (in the sense of how data is transferred (message layout) not as in cocoa protocols) translating input received over the connection into something more manageable for the application to act on?
A UML diagram of the WiTap sample would have been helpful
Thanks for your time,
-Ross
I'm after a little guidance as to how best to make my application networkable. Trying to decipher the WiTap example is proving difficult and leaves me with some questions.
What is the general procedure for networking two instances of an application? I figure you use NSNetService/NSNetServiceBrowser to find a service, then use a TCP class to make the connection. Does the TCP class manage the peers or is that usually the job of the main application? Does the TCP class outline protocols (in the sense of how data is transferred (message layout) not as in cocoa protocols) translating input received over the connection into something more manageable for the application to act on?
A UML diagram of the WiTap sample would have been helpful
Thanks for your time,
-Ross