cc3000 hostdriver with the mbed socket interface

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
16:f3676ae62f96
Parent:
13:5e36c267e62f
Parent:
12:1c2a856c618a
Child:
17:14b6a3a2b622
diff -r aae737ca3dd2 -r f3676ae62f96 Socket/Endpoint.cpp
--- a/Socket/Endpoint.cpp	Wed Oct 02 15:29:26 2013 +0000
+++ b/Socket/Endpoint.cpp	Wed Oct 02 16:00:41 2013 +0000
@@ -93,7 +93,7 @@
     if (result != 4) {
         //Resolve DNS address or populate hard-coded IP address
         uint32_t address_integer;
-        _cc3000_module->_socket.get_host_by_name((uint8_t *)host, strlen(host) , &address_integer);
+        _cc3000_module->_socket.gethostbyname((uint8_t *)host, strlen(host) , &address_integer);
 
         uint32_t ip = 0;
         ip = (ip | (address_integer >> 24));
@@ -116,7 +116,7 @@
             int((_remote_host.sin_addr.s_addr & 0xFF0000) >> 16),
             int((_remote_host.sin_addr.s_addr & 0xFF000000) >> 24));
     DBG_SOCKET("port: %d", port);
-
+    
     return 0;
 }