KDECore
ksocketdevice.cpp File Reference
#include <config.h>
#include <qmap.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <unistd.h>
#include "syssocket.h"
#include <qmutex.h>
#include <qsocketnotifier.h>
#include "kresolver.h"
#include "ksocketaddress.h"
#include "ksocketbase.h"
#include "ksocketdevice.h"
#include "ksockssocketdevice.h"
Include dependency graph for ksocketdevice.cpp:
Go to the source code of this file.
Typedefs | |
typedef QMap< int, KSocketDeviceFactoryBase * > | factoryMap |
Functions | |
static int | do_read_common (int sockfd, char *data, Q_ULONG maxlen, KSocketAddress *from, ssize_t &retval, bool peek=false) |
Variables | |
static KSocketDeviceFactoryBase * | defaultImplFactory |
static QMutex | defaultImplFactoryMutex |
static factoryMap | factories |
Typedef Documentation
typedef QMap<int, KSocketDeviceFactoryBase* > factoryMap |
Definition at line 836 of file ksocketdevice.cpp.
Function Documentation
static int do_read_common | ( | int | sockfd, | |
char * | data, | |||
Q_ULONG | maxlen, | |||
KSocketAddress * | from, | |||
ssize_t & | retval, | |||
bool | peek = false | |||
) | [static] |
Definition at line 391 of file ksocketdevice.cpp.
Variable Documentation
KSocketDeviceFactoryBase* defaultImplFactory [static] |
Definition at line 834 of file ksocketdevice.cpp.
QMutex defaultImplFactoryMutex [static] |
Definition at line 835 of file ksocketdevice.cpp.
factoryMap factories [static] |
Definition at line 837 of file ksocketdevice.cpp.