Ok, so if I understand correctly:

   - You are using a WATT32 library function that downloads a file using
   HTTP.  And that leaks 6KB of memory every time you call it.
   - You want an mTCP equivalent of that function.


I would try to debug the existing library function first - it is most
likely a malloc() without a corresponding free() call.

Converting the main() routine of the mTCP HTGET program to look like a
library would not be difficult, but that's not something I'm going to work
on anytime soon.  If you can program in C you should be able to do it.


-M
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to