Forum Discussion
Altera_Forum
Honored Contributor
19 years agotcp socket program puzzle
Hello everyone: I am learning and testing TCP socket program. In my application, I want to send and receive a great deal of data at one time. So the quantity of data exceed the size of array I...
Altera_Forum
Honored Contributor
19 years agoif i understand you right, you cannot define a buffer, which is big enough; for example:
char buffer; so if i'm right you should try to use the malloc function ; in this case (*EDIT* for buffers greater than 1MB) you need to enable a kernel option to do so (for big portions of memory): Processor type and features --> Allow allocating large blocks.... Greets helmchen