Public Methods
- void disableSocks ()
- void enableSocks ()
- bool usingSocks ()
- bool hasSocks ()
- int connect (int sockfd, const sockaddr *serv_addr,
ksocklen_t addrlen)
- signed long int read (int fd, void *buf, unsigned long int count)
- signed long int write (int fd, const void *buf, unsigned long int count)
- int recvfrom (int s, void *buf, unsigned long int len, int flags,
sockaddr *from, ksocklen_t *fromlen)
- int sendto (int s, const void *msg, unsigned long int len, int flags,
const sockaddr *to, ksocklen_t tolen)
- int recv (int s, void *buf, unsigned long int len, int flags)
- int send (int s, const void *msg, unsigned long int len, int flags)
- int getsockname (int s, sockaddr *name, ksocklen_t *namelen)
- int getpeername (int s, sockaddr *name, ksocklen_t *namelen)
- int accept (int s, sockaddr *addr, ksocklen_t *addrlen)
- int select (int n, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timeval *timeout)
- int listen (int s, int backlog)
- int bind (int sockfd, sockaddr *my_addr,
ksocklen_t addrlen)
- void die ()
Public Static Methods
[static]
Return an instance of class KSocks *
You cannot delete this object. It is a singleton class.
bool activated ()
| activated |
[static]
Return true if KSocks has been started (ie someone called self())
void disableSocks ()
| disableSocks |
Disable the use of SOCKS immediately
void enableSocks ()
| enableSocks |
Enable the use of SOCKS immediately if hasSocks() is true.
bool usingSocks ()
| usingSocks |
True if SOCKS is currently being used.
bool hasSocks ()
| hasSocks |
True if SOCKS is available for use.
* REIMPLEMENTATIONS OF LIBC SOCKET FUNCTIONS
signed long int read (int fd, void *buf, unsigned long int count)
| read |
signed long int write (int fd, const void *buf, unsigned long int count)
| write |
int recvfrom (int s, void *buf, unsigned long int len, int flags,
sockaddr *from, ksocklen_t *fromlen)
| recvfrom |
int sendto (int s, const void *msg, unsigned long int len, int flags,
const sockaddr *to, ksocklen_t tolen)
| sendto |
int recv (int s, void *buf, unsigned long int len, int flags)
| recv |
int send (int s, const void *msg, unsigned long int len, int flags)
| send |
int select (int n, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timeval *timeout)
| select |
int listen (int s, int backlog)
| listen |
[static]
Generated by: faure on ftp.kde.com on Wed Jul 11 07:16:15 2001, using kdoc 2.0a53. |