• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

ioslave_defaults.h

Go to the documentation of this file.
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., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, 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

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal