21#include <tqstringlist.h>
24#include <kstaticdeleter.h>
25#include <tdelibs_export.h>
35typedef unsigned ksocklen_t;
64 static bool activated();
92 bool hasWorkingAsyncConnect();
101 int connect (
int sockfd,
const sockaddr *serv_addr,
107 signed long int read (
int fd,
void *buf,
unsigned long int count);
112 signed long int write (
int fd,
const void *buf,
unsigned long int count);
117 int recvfrom (
int s,
void *buf,
unsigned long int len,
int flags,
118 sockaddr *from, ksocklen_t *fromlen);
123 int sendto (
int s,
const void *msg,
unsigned long int len,
int flags,
124 const sockaddr *to, ksocklen_t tolen);
129 int recv (
int s,
void *buf,
unsigned long int len,
int flags);
134 int send (
int s,
const void *msg,
unsigned long int len,
int flags);
139 int getsockname (
int s, sockaddr *name, ksocklen_t *namelen);
144 int getpeername (
int s, sockaddr *name, ksocklen_t *namelen);
149 int accept (
int s, sockaddr *addr, ksocklen_t *addrlen);
154 int select (
int n, fd_set *readfds, fd_set *writefds,
155 fd_set *exceptfds,
struct timeval *timeout);
160 int listen (
int s,
int backlog);
166 int bind (
int sockfd, sockaddr *my_addr,
168 int bind (
int sockfd,
const sockaddr *my_addr,
182 static void disable();
197 static bool _disabled;
198 TQStringList _libNames;
199 TQStringList _libPaths;
200 bool _useSocks, _hasSocks;
Represents a dynamically loaded library.
This class provides you with an interface to a SOCKS Proxy server.
Little helper class to clean up static objects that are held as pointer.
KDE Configuration Management abstract base class.