#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <errno.h>
#include "xjdic.h"
#define CVERBOSE 0
int chk_cnt=0;
extern int errno;
unsigned char host[51] = {"localhost"};
unsigned char yn[2];
unsigned int portno = XJ_PORTNO;
#include <netdb.h>
#define SVERBOSE 0
int thisdic = 0;
int DicNum;
extern unsigned char Dnamet[10][100],XJDXnamet[10][100];
extern unsigned char *dicbufft[10];
extern unsigned long diclent[10], indlent[10],indptrt[10];