Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Http server and string

In LWIP_we_server sample for stanalone system http server take a file from memory and then sends it

hs->file = file.data;

here is the istrunction to pass the file

hs->file is a char pointer (char *file). How can i pass an array of char for example

char string[10];

hs->file= ????????????
No RepliesBe the first to reply