Anyone have a smart way of being notified when a client is connected to a ofxTCPServer?
I basically want to know when a client connects and pass the client ip/port to a new Class and then store that Class in a vector
I was thinking of putting a ofNotifyEvent in ofxTCPServer at the below but was trying to stay away from changing the ofxTCPServer class
TCPConnections[idCount].setup(idCount, bClientBlocking);
if(verbose)printf("ofxTCPServer: client %i connected on port %i\n", idCount, TCPConnections[idCount].getPort());
idCount++;