Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The mystery with KeepAlive
Message
De
14/01/2013 11:00:37
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
The mystery with KeepAlive
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01562448
Message ID:
01562448
Vues:
66
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform