Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The mystery with KeepAlive
Message
From
14/01/2013 11:00:37
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
The mystery with KeepAlive
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01562448
Message ID:
01562448
Views:
67
Pretty much half the examples on the net for using .NET FTP System.Net.WebRequestMethods.Ftp.UploadFile use KeepAlive=False while the other half use KeepAlive=True. Can someone explain me which one to use?

Some says that KeepAlive=True might avoid situations like "Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.". But, if that is the case, why would someone bother to use KeepAlive=False. Wouldn't be justified to always use KeepAlive=True?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform