include/PacketParser.h
changeset 4 fdf04a93faeb
parent 3 724e07a9f155
equal deleted inserted replaced
3:724e07a9f155 4:fdf04a93faeb
    15 #include <arpa/inet.h>
    15 #include <arpa/inet.h>
    16 #include <netdb.h>
    16 #include <netdb.h>
    17 #include <netinet/tcp.h>
    17 #include <netinet/tcp.h>
    18 #include <netinet/udp.h>
    18 #include <netinet/udp.h>
    19 #include <netinet/ip_icmp.h>
    19 #include <netinet/ip_icmp.h>
    20 } class PacketParser:public PacketReader {
    20 };
       
    21 
       
    22 class PacketParser:public PacketReader {
    21   public:
    23   public:
    22     PacketParser (int tm = 500);
    24     PacketParser (int tm = 500);
    23       PacketParser (std::string);
    25       PacketParser (std::string);
    24      ~PacketParser ();
    26      ~PacketParser ();
    25       std::string read ();
    27       std::string read ();