Modify changes to test TCP socket.

Dependents:   EthernetInterface

Fork of Socket by mbed official

Revision:
5:300e7ad2dc1d
Parent:
3:e6474399e057
Child:
6:cd2e5559786d
diff -r 75988d748e4d -r 300e7ad2dc1d TCPSocketServer.cpp
--- a/TCPSocketServer.cpp	Thu Jul 26 10:07:43 2012 +0000
+++ b/TCPSocketServer.cpp	Thu Jul 26 15:07:32 2012 +0000
@@ -27,7 +27,7 @@
 }
 
 int TCPSocketServer::bind(int port) {
-    if (init(SOCK_STREAM) < 0)
+    if (init_socket(SOCK_STREAM) < 0)
         return -1;
     
     struct sockaddr_in localHost;