I built a FTP Server and its working flawless, i can connect, log in, tranfer big files and disconnect multiple times (like 1000) without problems.
My FTP Client works like this...after some time, it connects to a server, logs in, uploads a big file (1-8MB) and disconnects. The problems appears after some connections, it can open the control socket but cant open the data socket(the data socket remains invalid), looks like it runs out of memory and cant create the socket, its strange but it can create the control socket, but not the data socket...
Client and Server are in the same task and they use the same sockets.
I already tried to wait more time between connections, tried to reduce and increase stack sizes and buffer sizes.
Do you guys have any idea how can i try to solve this?
Thank you.
--
Alban Edit: FSL Part Number added to Message Subject line.
Message Edited by Alban on 2007-07-30 06:00 PM