NetServices Stack source

Dependents:   HelloWorld ServoInterfaceBoardExample1 4180_Lab4

Revision:
9:c79fa4034f5b
Parent:
8:93fa3cfc0219
--- a/api/TCPSocket.h	Wed Jul 28 12:45:32 2010 +0000
+++ b/api/TCPSocket.h	Thu Aug 05 14:32:43 2010 +0000
@@ -28,7 +28,8 @@
 #ifndef TCPSOCKET_H
 #define TCPSOCKET_H
 
-#include "if/net/net.h"
+#include "core/net.h"
+#include "core/host.h"
 //Essentially it is a safe interface to NetTcpSocket
 
 ///TCP Socket error codes
@@ -60,6 +61,9 @@
   TCPSOCKET_DISCONNECTED ///<Disconnected
 };
 
+class NetTcpSocket;
+enum NetTcpSocketEvent;
+
 ///This is a simple TCP Socket class
 /**
   This class exposes an API to deal with TCP Sockets