Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

RossOliver

macrumors regular
Original poster
Nov 6, 2006
157
0
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 :confused:

A point in the right direction would be appreciated :)

Thanks for your time,

-Ross
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.