#endif
#include <iostream>
#include <string.h>
#include <cstdio>
#include <stdlib.h>
const int kBufferSize = 65536;
const int kMaxMsgSize = 4096;