class KSocks


Definition#include <ksocks.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

KSocksself ()

self

[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.

int  connect (int sockfd, const sockaddr *serv_addr, ksocklen_t addrlen)

connect

* 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  getsockname (int s, sockaddr *name, ksocklen_t *namelen)

getsockname

int  getpeername (int s, sockaddr *name, ksocklen_t *namelen)

getpeername

int  accept (int s, sockaddr *addr, ksocklen_t *addrlen)

accept

int  select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout)

select

int  listen (int s, int backlog)

listen

int  bind (int sockfd, sockaddr *my_addr, ksocklen_t addrlen)

bind

void  die ()

die

void  disable ()

disable

[static]


Generated by: faure on ftp.kde.com on Wed Jul 11 07:16:15 2001, using kdoc 2.0a53.