some corrections to the makefile and the recvfrom call