add example cpp application, create send_file function in record.c, test it with ./cpp_sockets/server