| # kio Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# ioslave_defaults.h

    00001 /* This file is part of the KDE libraries
    00002    Copyright (C) 2001 Waldo Bastian <bastian@kde.org>
    00003
    00004    This library is free software; you can redistribute it and/or
    00005    modify it under the terms of the GNU Library General Public
    00006    License version 2 as published by the Free Software Foundation.
    00007
    00008    This library is distributed in the hope that it will be useful,
    00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
    00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00011    Library General Public License for more details.
    00012
    00013    You should have received a copy of the GNU Library General Public License
    00014    along with this library; see the file COPYING.LIB.  If not, write to
    00015    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00016    Boston, MA 02111-1307, USA.
    00017 */
    00018
    00019 #ifndef _KIO_IOSLAVE_DEFAULTS_H
    00020 #define _KIO_IOSLAVE_DEFAULTS_H
    00021
    00022 // TIMEOUT VALUES
    00023 #define DEFAULT_RESPONSE_TIMEOUT           600     // 10 min.
    00024 #define DEFAULT_CONNECT_TIMEOUT             20     // 20 secs.
    00025 #define DEFAULT_READ_TIMEOUT                15     // 15 secs.
    00026 #define DEFAULT_PROXY_CONNECT_TIMEOUT       10     // 10 secs.
    00027 #define MIN_TIMEOUT_VALUE                    2     //  2 secs.
    00028
    00029 // MINMUM SIZE FOR ABORTED DOWNLOAD TO BE KEPT
    00030 #define DEFAULT_MINIMUM_KEEP_SIZE         5120  //  5 Kbs
    00031
    00032 // NORMAL PORT DEFAULTS
    00033 #define DEFAULT_FTP_PORT                    21
    00034 #define DEFAULT_SMTP_PORT                   25
    00035 #define DEFAULT_HTTP_PORT                   80
    00036 #define DEFAULT_POP3_PORT                  110
    00037 #define DEFAULT_NNTP_PORT                  119
    00038 #define DEFAULT_IMAP_PORT                  143
    00039 #define DEFAULT_IMAP3_PORT                 220
    00040 #define DEFAULT_LDAP_PORT                  389
    00041
    00042 // SECURE PORT DEFAULTS
    00043 #define DEFAULT_HTTPS_PORT                 443
    00044 #define DEFAULT_NNTPS_PORT                 563
    00045 #define DEFAULT_LDAPS_PORT                 389
    00046 #define DEFAULT_IMAPS_PORT                 993
    00047 #define DEFAULT_POP3S_PORT                 995
    00048
    00049 // OTHER GENERIC PORT DEFAULTS
    00050 #define DEFAULT_PROXY_PORT                8080
    00051 #define MAX_PORT_VALUE                   65535
    00052
    00053 #endif

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:12:45 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001