Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  IDL Reference  >  I/O - Network  >  IDLnetURL::CloseConnections

IDLnetURL::CloseConnections

IDLnetURL::CloseConnections

The IDLnetURL::CloseConnections function method closes all the existing connections to remote HTTP and FTP servers. Closing a connection using this method is useful when it is necessary to change a login, enable or disable SSL, or start a new set of transactions on the FTP or HTTP server. In high-security environments it can be useful to immediately close a connection after the transaction is completed.

This object will cache up to five existing connections to remote HTTP or FTP servers. Once a connection is established to a remote server, the connection will be reused on subsequent transactions with the remote server. Reusing a connection can save time because the connect, login, and SSL handshake information does not need to be repeated.

Note: Typically, a remote server will close an existing connection after a period of inactivity. When this occurs, the closed connection is removed from the existing connections list.

Syntax


Obj->[IDLnetURL::]CloseConnections

Return Value


None.

Arguments


None.

Keywords


None.

Version History


6.4

Introduced



© 2018 Harris Geospatial Solutions, Inc. |  Privacy Policy
My Account    |    Store    |    Contact Us