Adafruit_CC3000_Library/Adafruit_CC3000_Server.cpp
// Given the index of client, returns the instance of that client for reading/writing
Given the index of client, returns the instance of that client for reading/writing
Given the index of client returns the instance of that client for reading / writing
Adafruit_CC3000_ClientRef Adafruit_CC3000_Server::getClientRef(int8_t clientIndex) {
  if (clientIndex != -1) {
    return Adafruit_CC3000_ClientRef(&_clients[clientIndex]);
  }
  return Adafruit_CC3000_ClientRef(NULL);
}
Adafruit_CC3000_ClientRef Adafruit_CC3000_Server :: getClientRef ( int8_t clientIndex ) { if ( clientIndex != -1 ) { return Adafruit_CC3000_ClientRef ( & _clients [ clientIndex ] ) ; } return Adafruit_CC3000_ClientRef ( NULL ) ; }
Given the index of client, returns the instance of that client for reading/writing
Given the index of client returns the instance of that client for reading / writing
// Couldn't find a client ready to read, so return a client that is not  // connected to signal no clients are available for reading (convention // used by the Ethernet library).