On Windows/MinGW 'recv' seems to be already defined in windows.h/winsock2.h. Use 'receive' instead, for now, otherwise we get an error: vcd.c:147:17: error: conflicting types for 'recv'