socket and makefile