+#include <arpa/inet.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include "greprotocol.h"
-#include "reorderer.h"
using namespace std;
return sock;
}
-void GREProtocol::read_packet(Protocol *sender)
+void GREProtocol::read_packet(Sender *sender)
{
struct sockaddr_storage addr;
socklen_t addrlen = sizeof(addr);