adafruit/Adafruit_CC3000_Library — pull request #74 by jacobrosenthal (2014-05-03 14:14:38+00:00)
Title: Feature/inherit client

Implement Arduinos Client so you can utilize existing Ethernet, etc code. Resolves #70 and many forum threads.

Mainly just conformed to return values of virtualized functions and added a connect function from client. Now in addition to getting a connected client back from cc300, you can tcp connect your unconnected client object like so:

```cpp
Adafruit_CC3000_Client www = Adafruit_CC3000_Client();
www.connect(ip,port);
```

And also have working peek now as well. Flush is a placeholder as I'm not sure its possible or necessary?

One thing needs to be changed before acceptance. I dont understand why currently, but connect from socket.h was conflicting was connect from Client.h. I renamed socket.h's connect to connectX until I could discuss with someone else who understands whats up.