Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Http server and string

Altera_Forum
Honored Contributor II
924 Views

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= ????????????
0 Kudos
0 Replies
Reply