Yes, the CC3000 isn't desperately reliable. When I get a moment I'll see if I can try a similar 2-character request with it - but honestly it wouldn't surprise me if it was some problem with the module itself. I seem to recall that if you tried to receive data on a closed socket it'd just crash, so it's possible that there is no way to get the small response out of it.
Is this is for your uni project? Can you not just modify your server slightly to either send more data or to hold the connection open for a few more ms after sending?
The ESP8266 support is getting there, but it still needs some work as different versions of firmware need slightly different commands.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, the CC3000 isn't desperately reliable. When I get a moment I'll see if I can try a similar 2-character request with it - but honestly it wouldn't surprise me if it was some problem with the module itself. I seem to recall that if you tried to receive data on a closed socket it'd just crash, so it's possible that there is no way to get the small response out of it.
Is this is for your uni project? Can you not just modify your server slightly to either send more data or to hold the connection open for a few more ms after sending?
The ESP8266 support is getting there, but it still needs some work as different versions of firmware need slightly different commands.
Did you try connecting to an Apache server?