Hey,
I have a server running which vends an object for clients to interact with. I also have two kinds of clients - a peer to fully connect to the server and a probing class which finds out details of the server (but shouldn't register as a peer with the server).
How would I go about distinguishing new connections so in my server I could have an array of peers and array of probers? I think I need to do something with the connection:handleRequest: method to distinguish and filter the peer/prober requests, but I'm not entirely sure what
A point in the right direction would be appreciated
Thanks for your time,
-Ross
I have a server running which vends an object for clients to interact with. I also have two kinds of clients - a peer to fully connect to the server and a probing class which finds out details of the server (but shouldn't register as a peer with the server).
How would I go about distinguishing new connections so in my server I could have an array of peers and array of probers? I think I need to do something with the connection:handleRequest: method to distinguish and filter the peer/prober requests, but I'm not entirely sure what
A point in the right direction would be appreciated
Thanks for your time,
-Ross