00001 00002 00006 #ifndef COMMUNICATION_H 00007 #define COMMUNICATION_H 00008 00009 #include "../common/buffer.h" 00010 #include "../common/protocol.h" 00011 00013 typedef struct ComArgs { 00014 int socket; 00015 Buffer* buffer; 00016 }; 00017 00019 00022 void* IncomingThread (void* args); 00024 00027 void* OutgoingThread (void* args); 00028 00029 #endif