Closing an abandoned ftp session
Posted: Tue Jul 13, 2010 12:30 pm
I have a MOD5272 with one task running as an ftp server. If a client connects and then goes idle (as opposed to closing the connection) I want the server to end that client session after 60 seconds or so of inactivity.
I see the FTPDSessionEnd() handler that allows me to do housekeeping tasks after the client computer closes the session, but I dont see any api allowing the session end to be initiated by one of my tasks running on the netburner.
Does anyone have any sample code showing how that might be accomplished?
thanks
I see the FTPDSessionEnd() handler that allows me to do housekeeping tasks after the client computer closes the session, but I dont see any api allowing the session end to be initiated by one of my tasks running on the netburner.
Does anyone have any sample code showing how that might be accomplished?
thanks