Adafruit_CC3000_Library/Adafruit_CC3000_Server.cpp
// Write data to all connected clients.  Buffer is a pointer to an array
// of bytes, and size specifies how many bytes to write from the buffer.
// Return the sum of bytes written to all clients.
Write data to all connected clients.  Buffer is a pointer to an array
of bytes, and size specifies how many bytes to write from the buffer.
Return the sum of bytes written to all clients.
Write data to all connected clients . Buffer is a pointer to an array of bytes and size specifies how many bytes to write from the buffer . Return the sum of bytes written to all clients .
size_t Adafruit_CC3000_Server::write(const uint8_t *buffer, size_t size) {
  size_t written = 0;
  for (int i = 0; i < MAX_SERVER_CLIENTS; ++i) {
    if (_clients[i].connected()) {
      written += _clients[i].write(buffer, size);
    }
  }
  return written;
}
size_t Adafruit_CC3000_Server :: write ( const uint8_t * buffer , size_t size ) { size_t written = 0 ; for ( int i = 0 ; i < MAX_SERVER_CLIENTS ; ++ i ) { if ( _clients [ i ] . connected ( ) ) { written += _clients [ i ] . write ( buffer , size ) ; } } return written ; }
Write data to all connected clients.
Write data to all connected clients .