include/PacketReader.h
changeset 3 724e07a9f155
parent 0 826dd5531eb0
child 4 fdf04a93faeb
--- a/include/PacketReader.h
+++ b/include/PacketReader.h
@@ -11,27 +11,27 @@
 #include <iostream>
 
 extern "C" {
-	#include <sys/socket.h>
-	#include <netinet/if_ether.h>
-	#include <netinet/ip.h>
-	#include <sys/poll.h>
-	#include <fcntl.h>
-	#include <sys/types.h>
-	#include <unistd.h>
+#include <sys/socket.h>
+#include <netinet/if_ether.h>
+#include <netinet/ip.h>
+#include <sys/poll.h>
+#include <fcntl.h>
+#include <sys/types.h>
+#include <unistd.h>
 };
 
 class PacketReader {
-protected:
-	int p_socket;
- private:
-	int timeout;
-public:
-	PacketReader ( int tm = 500 );
-	PacketReader ( std::string );
-	~PacketReader();
-	std::string read();
-	bool ready();
-	bool dataAvailable();
+  protected:
+    int p_socket;
+  private:
+    int timeout;
+  public:
+      PacketReader (int tm = 500);
+      PacketReader (std::string);
+     ~PacketReader ();
+      std::string read ();
+    bool ready ();
+    bool dataAvailable ();
 };
 
 #endif