add transfer socket fd, makefile. But there are some problems that not be solved.